add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 12:26:19 +01:00
parent 823871057f
commit b7806eb5b9
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
- name: "[CONFIG SUDOERS] Comprobando si es necesario configurar sudoers"
meta: end_host
when: sudoers_enabled is not defined or not sudoers_enabled
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# configure sudo for sysadmin group
# paso1 - add sysadmin group to sudoers