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

14 lines
540 B
YAML

- set_fact:
rspamd_combined_values: "{{ rspamd_default_values | combine(rspamd_values, recursive=true) }}"
- name: Deploy Rspamd
community.kubernetes.helm:
create_namespace: true
release_namespace: "{{ rspamd_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ rspamd_name | default('rspamd') }}"
chart_ref: "{{ rspamd_chart | default('ghp/rspamd') }}"
chart_version: "{{ rspamd_version | default(omit) }}"
release_values: "{{ rspamd_combined_values | from_yaml }}"
wait: true