add conditional
This commit is contained in:
parent
4b2e9feedd
commit
823871057f
|
@ -7,6 +7,11 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: "[CONFIG SUDOERS] Comprobando si es necesario configurar sudoers"
|
||||
debug:
|
||||
msg: "No es necesario configurar sudoers en la máquina"
|
||||
when: sudoers_enabled is not defined or not sudoers_enabled
|
||||
|
||||
- name: "[CONFIG SUDOERS] Config sudoers"
|
||||
import_role:
|
||||
name: config-sudoers
|
Loading…
Reference in New Issue