Skip to content

Commit

Permalink
Merge pull request #67 from LorenzoBettini/patch-1
Browse files Browse the repository at this point in the history
Use become: yes in the example for creating aur_builder
  • Loading branch information
kewlfft authored Nov 8, 2021
2 parents 87a1585 + 07e5fe3 commit 2c090a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ This user can be created in an Ansible task with the following actions:

```yaml
- name: Create the `aur_builder` user
become: yes
ansible.builtin.user:
name: aur_builder
create_home: yes
group: wheel

- name: Allow the `aur_builder` user to run `sudo pacman` without a password
become: yes
ansible.builtin.lineinfile:
path: /etc/sudoers.d/11-install-aur_builder
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
Expand Down

0 comments on commit 2c090a4

Please sign in to comment.