aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/post-openstack
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-01-22 16:11:48 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-01-22 16:16:56 +0800
commitb096febb727a7cb9c6b72418c422b3affe106134 (patch)
tree1299c0a9884ce7bf5a48562d1715e75bfe533b7e /deploy/adapters/ansible/roles/post-openstack
parent522bce77aee6680a977fa7d0acac3d4091202377 (diff)
Fix subnet create fail when disable ext-net
JIRA: COMPASS-575 Add missing condition check for subnet create task. Change-Id: Ibd25a7e7e4edd40be6b0f14bb8bffb828a65f648 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/post-openstack')
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
index 7022a4b5..fb0dc67d 100644
--- a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
@@ -40,6 +40,7 @@
--subnet-range "{{ public_net_info.floating_ip_cidr }}" \
"{{ public_net_info.subnet }}"
when:
+ - public_net_info.enable == "True"
- inventory_hostname == groups['utility_all'][0]
- name: create openstack flavors