Make peertube config writable

This commit is contained in:
Ivan R. 2024-10-29 02:12:07 +05:00
parent 153a41248d
commit 7eb61570a9
Signed by: lumin
GPG key ID: E0937DC7CD6D3817

View file

@ -18,18 +18,22 @@
path: /etc/peertube
state: directory
mode: '1700'
owner: root
group: root
owner: "999"
group: "999"
- name: Copy default config
become: true
ansible.builtin.copy:
src: default.yaml
dest: /etc/peertube/default.yaml
owner: "999"
group: "999"
- name: Copy production config
become: true
ansible.builtin.template:
src: production.yaml.j2
dest: /etc/peertube/production.yaml
owner: "999"
group: "999"
register: cfg
- name: Create peertube-data volume
become: true