mirror of
https://github.com/kewlfft/ansible-aur.git
synced 2025-12-15 16:28:57 +03:00
Fix sudoers syntax errors
There should be no space between NOPASSWD: and /usr/in/pacman otherwise the validation fails.
This commit is contained in:
@@ -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'
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user