add conditional
This commit is contained in:
parent
d5277c9f6b
commit
87684a557b
|
@ -1,3 +1,8 @@
|
||||||
|
|
||||||
|
- name: "[CONFIG HOSTS FILE] Comprobando si es necesario configurar hosts file "
|
||||||
|
meta: end_host
|
||||||
|
when: hosts_enabled is not defined or not hosts_enabled
|
||||||
|
|
||||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
- name: Replace old /etc/hosts with new /etc/hosts
|
- name: Replace old /etc/hosts with new /etc/hosts
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in New Issue