Forgot the create parameter in make ansible user

This commit is contained in:
Bradley Bickford 2024-09-21 12:46:17 -04:00
parent 41a2b1a798
commit 9922b6080b

View File

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