From f31ca71ffc5f4110796655ded3c7a6d144f43e42 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Fri, 14 Jul 2017 11:01:28 +0800 Subject: change the public endpoint protocol with https Fetch the os_cacerts for funtest replace the internalURL with publicURL Change-Id: Iff4fe2c998f3b5e723e826cf27e8901208988785 Signed-off-by: wutianwei --- deploy/adapters/ansible/roles/post-openstack/tasks/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'deploy/adapters/ansible/roles/post-openstack') 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: -- cgit 1.2.3-korg