- name: Import secret.yaml to obtain secrets include_tasks: secrets.yaml when: - nextcloud_use_external_db - postgres_enabled is defined and postgres_enabled - set_fact: nextcloud_combined_values: "{{ nextcloud_default_values | combine(nextcloud_values | default({}), recursive=true) }}" - name: Deploy Nextcloud kubernetes.core.helm: create_namespace: true release_namespace: "{{ nextcloud_namespace | default(namespace) }}" release_name: "{{ nextcloud_name | default('nextcloud') }}" chart_ref: "{{ nextcloud_chart_ref }}" chart_version: "{{ nextcloud_version | default(omit) }}" release_values: "{{ nextcloud_combined_values | from_yaml }}" wait: false