Merge "Ignore ironic nodes when registering compute nodes"
This commit is contained in:
commit
8f5eae25f3
@ -1,7 +1,7 @@
|
|||||||
- name: list hypervisors in overcloud
|
- name: list hypervisors in overcloud
|
||||||
shell: |
|
shell: |
|
||||||
source {{ overcloud_rc }}
|
source {{ overcloud_rc }}
|
||||||
openstack hypervisor list -f json | jq -r -c '.[] | .["Hypervisor Hostname"]'
|
openstack hypervisor list -f json | jq -r -c '.[] | select(.["Hypervisor Type"] | contains("ironic") | not) | .["Hypervisor Hostname"]'
|
||||||
register: hypervisors
|
register: hypervisors
|
||||||
|
|
||||||
- name: hosts running nova-compute
|
- name: hosts running nova-compute
|
||||||
|
Loading…
Reference in New Issue
Block a user