File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5858 - ' "HTTP 404" not in node_show.stderr'
5959 - ' "available" in node_show_json.provision_state'
6060 block :
61- - name : Configure network for baremetal instance
61+ - name : Create port
6262 openstack.cloud.port :
6363 state : present
6464 name : " {{ inventory_hostname }}"
6868 - ip_address : " {{ ansible_host }}"
6969 vnic_type : baremetal
7070 delegate_to : localhost
71- register : port
71+ register : osport
7272
7373 - name : Deploy hypervisor image
7474 openstack.cloud.server :
7575 state : present
7676 name : " {{ inventory_hostname }}"
7777 nics :
78- - port-id : " {{ port .port.id }}"
78+ - port-id : " {{ osport .port.id }}"
7979 auth : " {{ auth }}"
8080 availability_zone : " {{ availability_zone }}::{{ node_show_json.uuid }}"
8181 image : " {{ hypervisor_image }}"
You can’t perform that action at this time.
0 commit comments