add conditional
This commit is contained in:
parent
f70d257c3f
commit
d5277c9f6b
|
@ -2,6 +2,10 @@
|
||||||
# Configure HOSTNAME and HOSTS with new HOSTNAME
|
# Configure HOSTNAME and HOSTS with new HOSTNAME
|
||||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
- name: "[CONFIG HOSTNAME] Comprobando si es necesario configurar hostname "
|
||||||
|
meta: end_host
|
||||||
|
when: hostname_enabled is not defined or not hostname_enabled
|
||||||
|
|
||||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
# Configure HOSTNAME /etc/hostname
|
# Configure HOSTNAME /etc/hostname
|
||||||
- name: Set a hostname specifying strategy in /etc/hostname
|
- name: Set a hostname specifying strategy in /etc/hostname
|
||||||
|
|
Loading…
Reference in New Issue