summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-04-30 08:46:21 +0300
committerLars Wirzenius <liw@liw.fi>2022-04-30 08:46:21 +0300
commit457765f26dd25667ccbc5ac8f9761abfe25f6d4f (patch)
tree1af0e77ef7001d0960b25cb4434fb97228653a56 /roles
parentf1a3774c0fc2181877fd4d3798482d661b876775 (diff)
downloaddebian-ansible-457765f26dd25667ccbc5ac8f9761abfe25f6d4f.tar.gz
fix(sane_debian_system/apt): allow root to use sudo without password
Previously, wrong username was used in sudo config. Sponsored-by: author
Diffstat (limited to 'roles')
-rw-r--r--roles/sane_debian_system/tasks/apt.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/sane_debian_system/tasks/apt.yml b/roles/sane_debian_system/tasks/apt.yml
index bb9ccc2..fcc4c11 100644
--- a/roles/sane_debian_system/tasks/apt.yml
+++ b/roles/sane_debian_system/tasks/apt.yml
@@ -51,7 +51,7 @@
- name: "allow root to use sudo"
copy:
content: |
- liw ALL=(ALL:ALL) NOPASSWD: ALL
+ root ALL=(ALL:ALL) NOPASSWD: ALL
dest: /etc/sudoers.d/root
mode: 0600