Merge "Update opesntack_ports to use ansible_facts" into stable/victoria

This commit is contained in:
Zuul 2021-03-15 18:31:41 +00:00 committed by Gerrit Code Review
commit ac991db493
1 changed files with 1 additions and 1 deletions

View File

@ -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: