Use the correct username for sudo

This commit is contained in:
iRaven 2024-04-28 17:51:31 -05:00
parent 43d37226a8
commit 15454bdfbe

View File

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