diff options
author | Dan Radez <dradez@redhat.com> | 2017-09-06 13:28:46 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2017-09-06 19:16:18 -0400 |
commit | c3070bc11580fa933952fd0026a97169baed3d76 (patch) | |
tree | 73de0c02fe7ffc367c16b37ddae20218935ae8f1 /lib/ansible/playbooks | |
parent | 27018324387d4ef0efa908b315403a636f92de55 (diff) |
Skip introspection for aarch64 BM deployments
Change-Id: I630e90065f9cc76ef42ca9b23aea920c2493b53f
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/ansible/playbooks')
-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 |