Skip to content

Commit

Permalink
[apt] Install acl module if non-root
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Jan 23, 2017
1 parent 2805b59 commit 1995dc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
- libffi-dev
- python-dev

# fixes issue described in https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user
- name: Install acl if acting as non-root user
apt: name=acl state=latest
when: ansible_user != 'root'

- name: ensure supervisor is started
service: name=supervisor state=started

Expand Down

0 comments on commit 1995dc0

Please sign in to comment.