18 lines
657 B
YAML
18 lines
657 B
YAML
|
- name: Import secret.yaml to obtain secrets
|
||
|
include_tasks: secrets.yaml
|
||
|
when:
|
||
|
- peertube_use_external_db
|
||
|
- postgres_enable
|
||
|
|
||
|
- set_fact:
|
||
|
peertube_combined_values: "{{ peertube_default_values | combine(peertube_values, recursive=true) }}"
|
||
|
|
||
|
- name: Deploy PeerTube
|
||
|
community.kubernetes.helm:
|
||
|
create_namespace: true
|
||
|
release_namespace: "{{ peertube_namespace | default(namespace) }}"
|
||
|
release_name: "{{ peertube_name | default('peertube') }}"
|
||
|
chart_ref: "{{ peertube_chart | default('ghp/peertube') }}"
|
||
|
chart_version: "{{ peertube_version | default(omit) }}"
|
||
|
release_values: "{{ peertube_combined_values | from_yaml }}"
|