I'm going to explode if I have to make one more minor change to this simple playbook
This commit is contained in:
parent
9922b6080b
commit
af210e8cb4
@ -22,7 +22,7 @@
|
|||||||
path: "/etc/sudoers.d/50-ansible"
|
path: "/etc/sudoers.d/50-ansible"
|
||||||
line: "ansible ALL=(ALL) NOPASSWD: ALL"
|
line: "ansible ALL=(ALL) NOPASSWD: ALL"
|
||||||
create: true
|
create: true
|
||||||
validate: "visudo -cf"
|
validate: "visudo -cf %s"
|
||||||
|
|
||||||
- name: Add authorized key for ansible user
|
- name: Add authorized key for ansible user
|
||||||
ansible.builtin.authorized_key:
|
ansible.builtin.authorized_key:
|
||||||
|
Loading…
Reference in New Issue
Block a user