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 58
58
- ' "HTTP 404" not in node_show.stderr'
59
59
- ' "available" in node_show_json.provision_state'
60
60
block :
61
- - name : Configure network for baremetal instance
61
+ - name : Create port
62
62
openstack.cloud.port :
63
63
state : present
64
64
name : " {{ inventory_hostname }}"
68
68
- ip_address : " {{ ansible_host }}"
69
69
vnic_type : baremetal
70
70
delegate_to : localhost
71
- register : port
71
+ register : osport
72
72
73
73
- name : Deploy hypervisor image
74
74
openstack.cloud.server :
75
75
state : present
76
76
name : " {{ inventory_hostname }}"
77
77
nics :
78
- - port-id : " {{ port .port.id }}"
78
+ - port-id : " {{ osport .port.id }}"
79
79
auth : " {{ auth }}"
80
80
availability_zone : " {{ availability_zone }}::{{ node_show_json.uuid }}"
81
81
image : " {{ hypervisor_image }}"
You can’t perform that action at this time.
0 commit comments