Skip to content
Snippets Groups Projects
Commit 12b37356 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix use of become_user by installing acl package"

parents a4281c54 a477cd90
No related branches found
No related tags found
No related merge requests found
--- ---
# List of default packages to install. # List of default packages to install.
dev_tools_packages_default: dev_tools_packages_default:
# NOTE(mgoddard): The acl package is required for the setfacl command, used by
# become_user.
- acl
- bash-completion - bash-completion
- tcpdump - tcpdump
- vim - vim
......
--- ---
# 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 - name: Create local .pip directory
file: file:
path: "~{{ item }}/.pip" path: "~{{ item }}/.pip"
......
---
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment