diff options
Diffstat (limited to 'lib/ansible/playbooks/deploy_overcloud.yml')
-rw-r--r-- | lib/ansible/playbooks/deploy_overcloud.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/ansible/playbooks/deploy_overcloud.yml b/lib/ansible/playbooks/deploy_overcloud.yml index a16c81f5..19e46380 100644 --- a/lib/ansible/playbooks/deploy_overcloud.yml +++ b/lib/ansible/playbooks/deploy_overcloud.yml @@ -32,11 +32,13 @@ become: yes become_user: stack - name: Import inventory (baremetal) - shell: "{{ stackrc }} && {{ item }}" - with_items: - - openstack overcloud node import instackenv.json - - openstack overcloud node introspect --all-manageable --provide + shell: "{{ stackrc }} && openstack overcloud node import instackenv.json" when: not virtual + - name: Introspect inventory (baremetal) + shell: "{{ stackrc }} && openstack overcloud node introspect --all-manageable --provide" + when: + - not virtual + - not aarch64 - name: Import inventory (virtual) shell: "{{ stackrc }} && openstack overcloud node import --provide instackenv.json" when: virtual |