summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2023-12-19 21:52:50 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2023-12-19 21:52:50 +0000
commit18987e5d491ef3257ea8610de78158ca20fd95ba (patch)
tree46c20c8725d8efc8fb1c7ce3883a34f5b612c0e5
parent260ec3861979205e1d6ea6ba6815fd3edfa10818 (diff)
downloadinfra-18987e5d491ef3257ea8610de78158ca20fd95ba.tar.gz
infra-18987e5d491ef3257ea8610de78158ca20fd95ba.tar.bz2
infra-18987e5d491ef3257ea8610de78158ca20fd95ba.zip
Simplify sudo role
-rw-r--r--roles/essential/tasks/sudo.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/essential/tasks/sudo.yml b/roles/essential/tasks/sudo.yml
index 422c023..86e1016 100644
--- a/roles/essential/tasks/sudo.yml
+++ b/roles/essential/tasks/sudo.yml
@@ -9,7 +9,7 @@
dest: /etc/sudoers
state: present
regexp: '^(# )?%wheel ALL=\(ALL:ALL\) NOPASSWD: ALL'
- insertafter: '^# %wheel ALL=\(ALL:ALL\) NOPASSWD: ALL'
+ # insertafter: '^# %wheel ALL=\(ALL:ALL\) NOPASSWD: ALL'
line: '%wheel ALL=(ALL:ALL) NOPASSWD: ALL'
validate: "visudo -cf %s"
owner: root