ansible/roles/mastodon/tasks/main.yaml
ace 2991123422
mastodon: bump to vv4.2.9, helm chart v5.1.2
postgres-operator: bump to v1.12.0, helm chart v1.12.0

postgres-operator-ui: bump to v1.12.0, helm chart v1.12.0
2024-06-01 03:42:30 +03:00

18 lines
677 B
YAML

- name: Import secret.yaml to obtain secrets
include_tasks: secrets.yaml
when:
- mastodon_use_external_db
- postgres_enabled is defined and postgres_enabled
- set_fact:
mastodon_combined_values: "{{ mastodon_default_values | combine(mastodon_values | default({}), recursive=true) }}"
- name: Deploy Mastodon
kubernetes.core.helm:
create_namespace: true
release_namespace: "{{ mastodon_namespace | default(namespace) }}"
release_name: "{{ mastodon_name | default('mastodon') }}"
chart_ref: "{{ mastodon_chart_ref }}"
chart_version: "{{ mastodon_version | default(omit) }}"
release_values: "{{ mastodon_combined_values | from_yaml }}"