Skip to content
Permalink
Browse files

Add OS_CACERT

Change-Id: Ibb741a52cb1eca5b67aa8e7ff6afa1b4f64e165b
  • Loading branch information
asyedham committed Mar 24, 2020
1 parent 03a6038 commit ebebb6ba987acf053561b45f619666fa9bca01d3
Showing with 8 additions and 0 deletions.
  1. +1 −0 ansible/install/browbeat.yml
  2. +7 −0 ansible/install/roles/rally/tasks/main.yml
@@ -7,6 +7,7 @@
remote_user: "{{ browbeat_user }}"
roles:
- common
- osp_version
- browbeat
- stockpile
- { role: browbeat-results, when: browbeat_results_in_httpd}
@@ -55,6 +55,13 @@
regexp: "{{ os_auth_url.stdout }}"
replace: '{{ os_auth_url.stdout }}/v3'

- name: Add OS_CACERT to undercloudrc
lineinfile:
path: "{{home_dir}}/undercloudrc"
insertafter: "export OS_USER"
line: "export OS_CACERT=/etc/pki/ca-trust/source/anchors/undercloud-cacert.pem"
when: rhosp_version is version('15.0', '>=')

- name: Setup rally deployment for undercloud
shell: . {{ rally_venv }}/bin/activate; . "{{home_dir}}/undercloudrc"; rally deployment create --fromenv --name undercloud

0 comments on commit ebebb6b

Please sign in to comment.
You can’t perform that action at this time.