update playbook hostname
This commit is contained in:
parent
8487a60498
commit
b0a2a716b6
|
@ -7,6 +7,12 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: "[CONFIG HOSTNAME] Comprobando si es necesario configurar hostname "
|
||||
debug:
|
||||
msg: "No es necesario configurar hostname en la máquina"
|
||||
when: hostname_enabled is not defined or not hostname_enabled
|
||||
|
||||
- name: "[CONFIG HOSTNAME] Configure hostname"
|
||||
import_role:
|
||||
name: config-hostname
|
||||
when: hostname_enabled is defined and hostname_enabled
|
||||
|
|
Loading…
Reference in New Issue