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
|
path: /etc/peertube
|
||||||
state: directory
|
state: directory
|
||||||
mode: '1700'
|
mode: '1700'
|
||||||
owner: root
|
owner: "999"
|
||||||
group: root
|
group: "999"
|
||||||
- name: Copy default config
|
- name: Copy default config
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: default.yaml
|
src: default.yaml
|
||||||
dest: /etc/peertube/default.yaml
|
dest: /etc/peertube/default.yaml
|
||||||
|
owner: "999"
|
||||||
|
group: "999"
|
||||||
- name: Copy production config
|
- name: Copy production config
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: production.yaml.j2
|
src: production.yaml.j2
|
||||||
dest: /etc/peertube/production.yaml
|
dest: /etc/peertube/production.yaml
|
||||||
|
owner: "999"
|
||||||
|
group: "999"
|
||||||
register: cfg
|
register: cfg
|
||||||
- name: Create peertube-data volume
|
- name: Create peertube-data volume
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue