Adopt output structure to new collections version
With commit [1] to collection output structure of networks_info module
has been changed. With that we adpot to the new format.
Return values for keypair have also changed
[1] 9272146cf7
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/864553
Change-Id: Ic22ec379983e43aa5f2b55fd4543b4aa70762354
This commit is contained in:
parent
87e78ee34c
commit
c31bbc215c
@ -33,7 +33,7 @@
|
||||
|
||||
- name: Write private key locally
|
||||
copy:
|
||||
content: "{{ _octavia_keypair.key.private_key }}"
|
||||
content: "{{ _octavia_keypair['keypair']['private_key'] }}"
|
||||
dest: "{{ lookup('env', 'HOME') }}/.ssh/{{ octavia_ssh_key_name }}"
|
||||
delegate_to: localhost
|
||||
when:
|
||||
|
@ -98,7 +98,7 @@
|
||||
|
||||
- name: Set Octavia management network UUID fact
|
||||
set_fact:
|
||||
octavia_neutron_management_network_uuid: "{{ get_net_info.openstack_networks[0].id }}"
|
||||
octavia_neutron_management_network_uuid: "{{ get_net_info.networks[0].id }}"
|
||||
|
||||
- name: Set octavia_amp_image_owner_id if it is not already set
|
||||
delegate_to: "{{ octavia_service_setup_host }}"
|
||||
|
Loading…
Reference in New Issue
Block a user