summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/post-openstack/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/post-openstack/tasks')
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/tasks/main.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
index 8140cee7..3641faeb 100644
--- a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
@@ -23,15 +23,16 @@
cd /opt/openstack-ansible/playbooks; \
openstack-ansible create-flavor.yml > /dev/null"
-- name: change https to http
- shell: "export ANSIBLE_LOG_PATH=/var/ansible/run/openstack_ocata-opnfv2/ansible.log; \
- cd /opt/openstack-ansible/playbooks; \
- openstack-ansible http.yml > /dev/null"
-
- name: run ansible yml to fetch openrc
shell: "export ANSIBLE_LOG_PATH=/var/ansible/run/openstack_ocata-opnfv2/ansible.log; \
cd /opt/openstack-ansible/playbooks; \
- openstack-ansible fetch-openrc.yml > /dev/null"
+ openstack-ansible fetch-files.yml > /dev/null"
+
+- name: replace http with https in openrc
+ replace:
+ dest: /opt/openrc
+ regexp: "http://"
+ replace: "https://"
- name: replace internalURL with publicURL in openrc
replace: