Merge "Fix use of become_user by installing acl package"
This commit is contained in:
commit
12b37356ba
@ -1,6 +1,9 @@
|
||||
---
|
||||
# List of default packages to install.
|
||||
dev_tools_packages_default:
|
||||
# NOTE(mgoddard): The acl package is required for the setfacl command, used by
|
||||
# become_user.
|
||||
- acl
|
||||
- bash-completion
|
||||
- tcpdump
|
||||
- vim
|
||||
|
@ -1,13 +1,4 @@
|
||||
---
|
||||
# NOTE(mgoddard): The acl package is required for the setfacl command, used by
|
||||
# become_user.
|
||||
- name: Ensure acl package is installed
|
||||
package:
|
||||
name: acl
|
||||
cache_valid_time: "{{ apt_cache_valid_time if ansible_facts.os_family == 'Debian' else omit }}"
|
||||
update_cache: "{{ True if ansible_facts.os_family == 'Debian' else omit }}"
|
||||
become: true
|
||||
|
||||
- name: Create local .pip directory
|
||||
file:
|
||||
path: "~{{ item }}/.pip"
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes an issue where a custom playbook using `become_user` could fail when
|
||||
setting permissions on temporary files. The `acl` package is now installed
|
||||
on all systems by default.
|
Loading…
Reference in New Issue
Block a user