Use the correct username for sudo
This commit is contained in:
parent
43d37226a8
commit
15454bdfbe
@ -24,7 +24,7 @@
|
||||
lineinfile:
|
||||
dest: /etc/sudoers
|
||||
regexp: '^ansible'
|
||||
line: 'johndoe ALL=(ALL) NOPASSWD: ALL'
|
||||
line: 'ansible ALL=(ALL) NOPASSWD: ALL'
|
||||
state: present
|
||||
validate: 'visudo -cf %s'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user