aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2017-07-28 10:56:50 +0800
committerwutianwei <wutianwei1@huawei.com>2017-07-28 10:56:50 +0800
commitecc8b244432464d5f05e07e80f2f62fdf3f9fb10 (patch)
treefb8fe0606c98eea07a06cc70218fc1d7b0a2e2a4 /deploy
parentef7fcad91a146edf21a5a6600f7ec4067f844fbc (diff)
Change "Default" to "default" in openrc
when OS_USER_DOMAIN_NAME and OS_PROJECT_DOMAIN_NAME is Default in openrc, it will cause some issue in functest. Change-Id: I39a7a3712ac2311076c45caed70c0c4c2036b561 Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'deploy')
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/tasks/main.yml6
1 files changed, 6 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 3641faeb..6c84532d 100644
--- a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
@@ -45,3 +45,9 @@
dest: /opt/openrc
regexp: "internalURL"
replace: "publicURL"
+
+- name: replace Default with default in openrc
+ replace:
+ dest: /opt/openrc
+ regexp: "Default"
+ replace: "default"