From b0c1a4b0be27ec5d223e22a63bbb44eca124b72d Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Sat, 11 Apr 2020 13:48:50 +0200 Subject: [PATCH] Uses a new config directory in the docker compose project directory (prev. it used ~/.jitsi-meet-cfg) --- tasks/main.yml | 10 +++++++++- templates/env.jitsi.j2 | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2dc928d..1cb56c6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,6 @@ --- # tasks file for jitsi -- name: Ensure jitsi config directory exists +- name: Ensure jitsi Docker Compose config directory exists file: path: /home/{{ docker_user }}/jitsi state: directory @@ -8,6 +8,14 @@ group: '{{ docker_user }}' tags: config +- name: Ensure jitsi config directory exists + file: + path: /home/{{ docker_user }}/jitsi/conf + state: directory + owner: '{{ docker_user }}' + group: '{{ docker_user }}' + tags: config + - name: Provide docker-compose.yml template: src: templates/docker-compose.jitsi.yml.j2 diff --git a/templates/env.jitsi.j2 b/templates/env.jitsi.j2 index efb7ab6..e023c0a 100644 --- a/templates/env.jitsi.j2 +++ b/templates/env.jitsi.j2 @@ -3,7 +3,7 @@ # # Directory where all configuration will be stored. -CONFIG=~/.jitsi-meet-cfg +CONFIG=./conf # Exposed HTTP port. HTTP_PORT={{ jitsi_exposed_http_port }}