Browse Source
add default empty value for etc_hosts_localhosts_dict_target (#7567)
pull/7572/head
Sergey
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes/preinstall/tasks/0090-etchosts.yml
|
|
@ -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 |
|
|
|