diff options
author | Tim Rozet <trozet@redhat.com> | 2017-09-07 15:15:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-07 15:15:02 +0000 |
commit | 50214cbfb2a815c3b397810bf34c94e50cb68801 (patch) | |
tree | 8e918d34d492eac183a1a326940fca96eba1b3ea /lib | |
parent | c864613222ed1b85306deba7991df1a89b56c897 (diff) | |
parent | c3070bc11580fa933952fd0026a97169baed3d76 (diff) |
Merge "Skip introspection for aarch64 BM deployments"
Diffstat (limited to 'lib')
-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 |