Merge "Copy ca certificates also to horizon container"

This commit is contained in:
Zuul 2020-03-12 21:11:35 +00:00 committed by Gerrit Code Review
commit dd55cf6ed0

View File

@ -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"