Add OS_CACERT
Change-Id: Ibb741a52cb1eca5b67aa8e7ff6afa1b4f64e165b
This commit is contained in:
parent
03a603816a
commit
ebebb6ba98
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user