add default empty value for etc_hosts_localhosts_dict_target (#7567)
parent
4c06aa98b5
commit
d26191373a
|
@ -66,7 +66,7 @@
|
|||
state: present
|
||||
backup: yes
|
||||
unsafe_writes: yes
|
||||
loop: "{{ etc_hosts_localhosts_dict_target|dict2items }}"
|
||||
loop: "{{ etc_hosts_localhosts_dict_target|default({})|dict2items }}"
|
||||
|
||||
# gather facts to update ansible_fqdn
|
||||
- name: Update facts
|
||||
|
|
Loading…
Reference in New Issue