From 15454bdfbed614edbf196718c2b997ce6a53f267 Mon Sep 17 00:00:00 2001 From: iRaven4522 Date: Sun, 28 Apr 2024 17:51:31 -0500 Subject: [PATCH] Use the correct username for sudo --- linux/compliance.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/compliance.yaml b/linux/compliance.yaml index c4c03b9..17272de 100644 --- a/linux/compliance.yaml +++ b/linux/compliance.yaml @@ -24,7 +24,7 @@ lineinfile: dest: /etc/sudoers regexp: '^ansible' - line: 'johndoe ALL=(ALL) NOPASSWD: ALL' + line: 'ansible ALL=(ALL) NOPASSWD: ALL' state: present validate: 'visudo -cf %s'