Skip to content
Snippets Groups Projects
Unverified Commit d2619137 authored by Sergey's avatar Sergey Committed by GitHub
Browse files

add default empty value for etc_hosts_localhosts_dict_target (#7567)

parent 4c06aa98
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
state: present state: present
backup: yes backup: yes
unsafe_writes: 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 # gather facts to update ansible_fqdn
- name: Update facts - name: Update facts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment