From af210e8cb4fea38d451e297f88c6ca56c37fe5e4 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Sat, 21 Sep 2024 12:48:22 -0400 Subject: [PATCH] I'm going to explode if I have to make one more minor change to this simple playbook --- playbooks/make_ansible_user.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/make_ansible_user.yml b/playbooks/make_ansible_user.yml index a17aa2a..a8f362d 100644 --- a/playbooks/make_ansible_user.yml +++ b/playbooks/make_ansible_user.yml @@ -22,7 +22,7 @@ path: "/etc/sudoers.d/50-ansible" line: "ansible ALL=(ALL) NOPASSWD: ALL" create: true - validate: "visudo -cf" + validate: "visudo -cf %s" - name: Add authorized key for ansible user ansible.builtin.authorized_key: