diff options
author | Tim Rozet <trozet@redhat.com> | 2018-01-29 17:16:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-29 17:16:15 +0000 |
commit | 7e365bcfc02900ca1a7da341f47aabcf3123c99f (patch) | |
tree | ef9ef6d79e21494ad35571df385b6bdd675ca9b7 /lib/ansible | |
parent | 2f43d91a340fa002ea1f03931f5209a616a11a37 (diff) | |
parent | 6856c63376f87004377f94f534389da02dc9be16 (diff) |
Merge "Make introspection optional"
Diffstat (limited to 'lib/ansible')
-rw-r--r-- | lib/ansible/playbooks/deploy_overcloud.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/ansible/playbooks/deploy_overcloud.yml b/lib/ansible/playbooks/deploy_overcloud.yml index b2d9234a..aa3d8067 100644 --- a/lib/ansible/playbooks/deploy_overcloud.yml +++ b/lib/ansible/playbooks/deploy_overcloud.yml @@ -57,15 +57,13 @@ become_user: stack - name: Import inventory (baremetal) shell: "{{ stackrc }} && openstack overcloud node import instackenv.json" - when: not virtual + when: introspect - name: Introspect inventory (baremetal) shell: "{{ stackrc }} && openstack overcloud node introspect --all-manageable --provide" - when: - - not virtual - - not aarch64 + when: introspect - name: Import inventory (virtual) shell: "{{ stackrc }} && openstack overcloud node import --provide instackenv.json" - when: virtual + when: not introspect - name: Set flavors shell: '{{ stackrc }} && openstack flavor set --property "cpu_arch"="{{ ansible_architecture }}" {{ item }}' with_items: |