Allow godan user to run sudo without a password

This commit is contained in:
gemini
2026-04-15 19:59:17 +02:00
parent 4374251bc8
commit 56ef8597f2

View File

@@ -22,3 +22,11 @@
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOBa7padbnxWe1Ct5jguWdJ1rhRrDqk6m6xJA0OJzkQv"
become: yes
- name: No password for sudo
become: true
community.general.sudoers:
nopassword: true
commands: ALL
user: "godan"
name: "No password for sudo"