change tag hostname by when var is defined
This commit is contained in:
parent
6a5ae9f53b
commit
db8cadee19
|
@ -4,7 +4,7 @@
|
|||
- name: change hostname
|
||||
hostname:
|
||||
name: "{{ hostname_name }}"
|
||||
tags: set-hostname
|
||||
when: hostname_name is defined
|
||||
|
||||
# Reconfigure locales - enable en_US-UTF8 and es_ES-UTF8
|
||||
- name: reconfigure locales enable en_US-UTF8 and es_ES-UTF8
|
||||
|
|
Loading…
Reference in New Issue