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