Forgot the create parameter in make ansible user
This commit is contained in:
parent
41a2b1a798
commit
9922b6080b
@ -21,6 +21,7 @@
|
||||
ansible.builtin.lineinfile:
|
||||
path: "/etc/sudoers.d/50-ansible"
|
||||
line: "ansible ALL=(ALL) NOPASSWD: ALL"
|
||||
create: true
|
||||
validate: "visudo -cf"
|
||||
|
||||
- name: Add authorized key for ansible user
|
||||
|
Loading…
Reference in New Issue
Block a user