ansible/roles/postfix/tasks/main.yaml

14 lines
551 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
- set_fact:
postfix_combined_values: "{{ postfix_default_values | combine(postfix_values, recursive=true) }}"
- name: Deploy Postfix
community.kubernetes.helm:
create_namespace: true
release_namespace: "{{ postfix_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ postfix_name | default('postfix') }}"
chart_ref: "{{ postfix_chart | default('ghp/postfix') }}"
chart_version: "{{ postfix_version | default(omit) }}"
release_values: "{{ postfix_combined_values | from_yaml }}"
wait: true