Use workaround for Ansible issue with dynamic delegate_to
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user