From 7eb61570a9b75b1c25a20e26545c0de8abdfebf8 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Tue, 29 Oct 2024 02:12:07 +0500 Subject: [PATCH] Make peertube config writable --- roles/peertube/tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml index fa0ef9b..0c7b6d1 100644 --- a/roles/peertube/tasks/main.yml +++ b/roles/peertube/tasks/main.yml @@ -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