diff --git a/ansible/roles/service-cert-copy/tasks/main.yml b/ansible/roles/service-cert-copy/tasks/main.yml index 2e4b8be089..27f5c20703 100644 --- a/ansible/roles/service-cert-copy/tasks/main.yml +++ b/ansible/roles/service-cert-copy/tasks/main.yml @@ -24,11 +24,6 @@ dest: "{{ node_config_directory }}/{{ item.key }}/{{ project_name }}-cert.pem" mode: "0644" become: true - when: - - item.value.haproxy is defined - - item.value.haproxy.values() | selectattr('enabled', 'defined') | map(attribute='enabled') | map('bool') | select | list | length > 0 - - item.value.haproxy.values() | selectattr('tls_backend', 'defined') | map(attribute='tls_backend') | map('bool') | select | list | length > 0 - - not kolla_externally_managed_cert | bool with_dict: "{{ project_services | select_services_enabled_and_mapped_to_host }}" notify: - "Restart {{ item.key }} container" @@ -46,11 +41,6 @@ dest: "{{ node_config_directory }}/{{ item.key }}/{{ project_name }}-key.pem" mode: "0600" become: true - when: - - item.value.haproxy is defined - - item.value.haproxy.values() | selectattr('enabled', 'defined') | map(attribute='enabled') | map('bool') | select | list | length > 0 - - item.value.haproxy.values() | selectattr('tls_backend', 'defined') | map(attribute='tls_backend') | map('bool') | select | list | length > 0 - - not kolla_externally_managed_cert | bool with_dict: "{{ project_services | select_services_enabled_and_mapped_to_host }}" notify: - "Restart {{ item.key }} container" diff --git a/releasenotes/notes/service-cert-copy-without-haproxy-85d45834469aa9e8.yaml b/releasenotes/notes/service-cert-copy-without-haproxy-85d45834469aa9e8.yaml new file mode 100644 index 0000000000..cd05d366a2 --- /dev/null +++ b/releasenotes/notes/service-cert-copy-without-haproxy-85d45834469aa9e8.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Implements service-cert-copy role being able to + copy certs to non-HAProxy container. + `Partial Blueprint mariadb-ssl-support `