ansible user can become any user

This commit is contained in:
Torma Kristóf 2022-04-17 14:47:29 +02:00
parent 645128198e
commit 31868f3b16

View File

@ -46,7 +46,7 @@
lineinfile: lineinfile:
state: present state: present
path: /etc/sudoers path: /etc/sudoers
line: "ansible ALL=(ALL:ALL) NOPASSWD" line: "ansible ALL=(ALL:ALL) NOPASSWD:ALL"
when: checkallowusers.found == 0 when: checkallowusers.found == 0
- name: "Update authorized_keys of tormakris" - name: "Update authorized_keys of tormakris"