diff --git a/ansible/roles/horizon/tasks/config.yml b/ansible/roles/horizon/tasks/config.yml index 888a3e8b2f..93c230f4fc 100644 --- a/ansible/roles/horizon/tasks/config.yml +++ b/ansible/roles/horizon/tasks/config.yml @@ -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"