Use workaround for Ansible issue with dynamic delegate_to

This commit is contained in:
Mark Goddard 2017-03-27 19:40:37 +01:00
parent 90f0fd14d3
commit 34edfbec80

View File

@ -42,5 +42,7 @@
# Bifrost host variables for {{ inventory_hostname }}
{{ bifrost_hostvars | to_nice_yaml }}
dest: "/etc/kolla/bifrost/inventory/host_vars/{{ inventory_hostname }}"
delegate_to: "{{ seed_host }}"
delegate_to: "{{ item }}"
with_items:
- "{{ hostvars[groups['seed'][0]].ansible_host }}"
become: True