Make peertube config writable
This commit is contained in:
parent
153a41248d
commit
7eb61570a9
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue