Add jinja2 template for ansible_nopasswd

This commit is contained in:
rockstable 2022-05-04 16:38:18 +02:00
parent facbe66cbc
commit 54e2aa8e7c
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{{ ansible_managed |comment }}
# Allow user "{{ ansible_user_id }}" to execute any command without password
{{ ansible_user_id }} ALL=(ALL:ALL) NOPASSWD: ALL