ansible/roles/postfix/tasks/main.yaml

19 lines
718 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
- set_fact:
2024-05-25 15:12:30 +00:00
postfix_combined_values: "{{ postfix_default_values | combine(postfix_values | default({}), recursive=true) }}"
when: not mail_oidc
- set_fact:
postfix_combined_values: "{{ postfix_oidc_default_values | combine(postfix_oidc_values | default({}), recursive=true) }}"
when: mail_oidc
2021-01-09 17:54:42 +00:00
- name: Deploy Postfix
2022-07-12 13:48:14 +00:00
kubernetes.core.helm:
2021-01-09 17:54:42 +00:00
create_namespace: true
release_namespace: "{{ postfix_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ postfix_name | default('postfix') }}"
chart_ref: "{{ postfix_chart_ref }}"
2021-01-09 17:54:42 +00:00
chart_version: "{{ postfix_version | default(omit) }}"
release_values: "{{ postfix_combined_values | from_yaml }}"
wait: true