ansible/roles/opendmarc/tasks/main.yaml
2021-01-09 20:54:42 +03:00

14 lines
573 B
YAML

- set_fact:
opendmarc_combined_values: "{{ opendmarc_default_values | combine(opendmarc_values, recursive=true) }}"
- name: Deploy OpenDMARC
community.kubernetes.helm:
create_namespace: true
release_namespace: "{{ opendmarc_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ opendmarc_name | default('opendmarc') }}"
chart_ref: "{{ opendmarc_chart | default('ghp/opendmarc') }}"
chart_version: "{{ opendmarc_version | default(omit) }}"
release_values: "{{ opendmarc_combined_values | from_yaml }}"
wait: true