mirror of https://github.com/kewlfft/ansible-aur
Fix sudoers syntax errors
There should be no space between NOPASSWD: and /usr/in/pacman otherwise the validation fails.pull/23/head
parent
8f8af5fa5f
commit
83e5725a58
|
@ -76,7 +76,7 @@ This can be done in Ansible with the following actions:
|
||||||
group: wheel
|
group: wheel
|
||||||
- lineinfile:
|
- lineinfile:
|
||||||
path: /etc/sudoers.d/11-install-aur_builder
|
path: /etc/sudoers.d/11-install-aur_builder
|
||||||
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
|
line: 'aur_builder ALL=(ALL) NOPASSWD:/usr/bin/pacman'
|
||||||
create: yes
|
create: yes
|
||||||
validate: 'visudo -cf %s'
|
validate: 'visudo -cf %s'
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue