Update opesntack_ports to use ansible_facts
Turns out openstack_ports was a fact returned by os_port_facts so we
need to update that as well.
Change-Id: I93ce9fd48c20693dd15a685c322af9e1be3cab5c
Related-Bug: #1917621
(cherry picked from commit 8c617cf43a
)
This commit is contained in:
parent
4f513aeb85
commit
97e05494b0
|
@ -182,7 +182,7 @@
|
|||
|
||||
- name: Set ManagedIpAddresses fact
|
||||
set_fact:
|
||||
ManagedIpAddresses: "{{ openstack_ports | map(attribute='fixed_ips') | sum(start=[]) | map(attribute='ip_address') | list }}"
|
||||
ManagedIpAddresses: "{{ ansible_facts['openstack_ports'] | map(attribute='fixed_ips') | sum(start=[]) | map(attribute='ip_address') | list }}"
|
||||
|
||||
- name: Set node key fact
|
||||
set_fact:
|
||||
|
|
Loading…
Reference in New Issue