ansible/roles/dovecot/tasks/main.yaml

18 lines
703 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
- set_fact:
2024-05-25 15:12:30 +00:00
dovecot_combined_values: "{{ dovecot_default_values | combine(dovecot_values | default({}), recursive=true) }}"
when: not mail_oidc
- set_fact:
dovecot_combined_values: "{{ dovecot_oidc_default_values | combine(dovecot_oidc_values | default({}), recursive=true) }}"
when: mail_oidc
2021-01-09 17:54:42 +00:00
- name: Deploy Dovecot
2022-07-12 13:48:14 +00:00
kubernetes.core.helm:
2021-01-09 17:54:42 +00:00
create_namespace: true
release_namespace: "{{ dovecot_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ dovecot_name | default('dovecot') }}"
chart_ref: "{{ dovecot_chart_ref }}"
2021-01-09 17:54:42 +00:00
chart_version: "{{ dovecot_version | default(omit) }}"
release_values: "{{ dovecot_combined_values | from_yaml }}"