Copy ca certificates also to horizon container
Add copy ca file to horizon container. because: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/pki/ca-trust/source/anchors/kolla-customca-haproxy-internal.crt Closes-Bug: #1867121 Change-Id: I64d4dbeebd53048705005b61eb3c5b2104e8f2ed Signed-off-by: yj.bai <bai.yongjun@99cloud.net>
This commit is contained in:
parent
cced7e04e5
commit
ed2df25ebc
@ -133,5 +133,19 @@
|
||||
notify:
|
||||
- Restart horizon container
|
||||
|
||||
- name: Copying over extra CA certificates
|
||||
become: true
|
||||
copy:
|
||||
src: "{{ node_config }}/certificates/ca/"
|
||||
dest: "{{ node_config_directory }}/{{ item.key }}/ca-certificates"
|
||||
mode: "0644"
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
- kolla_copy_ca_into_containers | bool
|
||||
with_dict: "{{ horizon_services }}"
|
||||
notify:
|
||||
- "Restart {{ item.key }} container"
|
||||
|
||||
- include_tasks: check-containers.yml
|
||||
when: kolla_action != "config"
|
||||
|
Loading…
x
Reference in New Issue
Block a user