ansible/roles/roundcube/tasks/main.yaml

20 lines
730 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
- name: Import secret.yaml to obtain secrets
include_tasks: secrets.yaml
when:
- roundcube_use_external_db
- postgres_enabled is defined and postgres_enabled
2021-01-09 17:54:42 +00:00
- set_fact:
2024-05-25 15:12:30 +00:00
roundcube_combined_values: "{{ roundcube_default_values | combine(roundcube_values | default({}), recursive=true) }}"
2021-01-09 17:54:42 +00:00
- name: Deploy RoundCube
2022-07-12 13:48:14 +00:00
kubernetes.core.helm:
2021-01-09 17:54:42 +00:00
create_namespace: true
release_namespace: "{{ roundcube_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ roundcube_name | default('roundcube') }}"
chart_ref: "{{ roundcube_chart_ref }}"
2021-01-09 17:54:42 +00:00
chart_version: "{{ roundcube_version | default(omit) }}"
release_values: "{{ roundcube_combined_values | from_yaml }}"
wait: true