Fix sudoers syntax errors

There should be no space between NOPASSWD: and /usr/in/pacman otherwise the validation fails.
This commit is contained in:
Stani
2019-02-28 23:39:25 +01:00
committed by GitHub
parent 8f8af5fa5f
commit 83e5725a58

View File

@@ -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'
``` ```