summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-07 15:15:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-07 15:15:02 +0000
commit50214cbfb2a815c3b397810bf34c94e50cb68801 (patch)
tree8e918d34d492eac183a1a326940fca96eba1b3ea
parentc864613222ed1b85306deba7991df1a89b56c897 (diff)
parentc3070bc11580fa933952fd0026a97169baed3d76 (diff)
Merge "Skip introspection for aarch64 BM deployments"
-rw-r--r--lib/ansible/playbooks/deploy_overcloud.yml10
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