Skip to content

Commit

Permalink
Fix: Cannot do sudo -u otheruser command - which breaks Ansible exe…
Browse files Browse the repository at this point in the history
…cution with "become_user" other than root
  • Loading branch information
blackandred committed Mar 22, 2021
1 parent 88b2f75 commit 30e787f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/sudo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
become: yes
lineinfile:
dest: /etc/sudoers
line: "%sudonopasswd ALL=(root) NOPASSWD: ALL"
line: "%sudonopasswd ALL=(ALL) NOPASSWD: ALL"

0 comments on commit 30e787f

Please sign in to comment.