Merge "Explicitly make a list"

This commit is contained in:
Zuul 2019-09-16 11:22:23 +00:00 committed by Gerrit Code Review
commit e48c35a6ab
1 changed files with 1 additions and 1 deletions

View File

@ -35,5 +35,5 @@
vars:
inventory_yaml: "{{ upgrade_tripleo_inventory.stdout | from_yaml }}"
set_fact:
oc_roles_hosts: "{{ oc_roles_hosts | combine({ item.key : inventory_yaml[item.key]['hosts'].keys() }) }}"
oc_roles_hosts: "{{ oc_roles_hosts | combine({ item.key : inventory_yaml[item.key]['hosts'].keys()|list }) }}"
with_dict: "{{ inventory_yaml.overcloud.children }}"