ansible user can become any user
This commit is contained in:
parent
645128198e
commit
31868f3b16
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user