2021-01-09 17:54:42 +00:00
|
|
|
- name: Import secret.yaml to obtain secrets
|
|
|
|
include_tasks: secrets.yaml
|
|
|
|
when:
|
|
|
|
- peertube_use_external_db
|
2021-01-25 01:58:20 +00:00
|
|
|
- postgres_enabled is defined and postgres_enabled
|
2021-01-09 17:54:42 +00:00
|
|
|
|
|
|
|
- set_fact:
|
|
|
|
peertube_combined_values: "{{ peertube_default_values | combine(peertube_values, recursive=true) }}"
|
|
|
|
|
|
|
|
- name: Deploy PeerTube
|
2022-07-12 13:48:14 +00:00
|
|
|
kubernetes.core.helm:
|
2021-01-09 17:54:42 +00:00
|
|
|
create_namespace: true
|
|
|
|
release_namespace: "{{ peertube_namespace | default(namespace) }}"
|
|
|
|
release_name: "{{ peertube_name | default('peertube') }}"
|
2023-06-10 03:20:10 +00:00
|
|
|
chart_ref: "{{ peertube_chart_ref }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
chart_version: "{{ peertube_version | default(omit) }}"
|
|
|
|
release_values: "{{ peertube_combined_values | from_yaml }}"
|