Browse Source

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)
changes/71/782971/1
Alex Schultz 1 month ago
parent
commit
97e05494b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tripleo_ansible/playbooks/cli-enable-ssh-admin.yaml

+ 1
- 1
tripleo_ansible/playbooks/cli-enable-ssh-admin.yaml 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:


Loading…
Cancel
Save