Refactored use of variables

This commit is contained in:
2023-12-05 18:45:26 +01:00
parent 5ca94d6ecc
commit 3b06b5bcf4
50 changed files with 107 additions and 102 deletions

View File

@@ -2,7 +2,7 @@
- name: create docker-compose.yml for bigbluebutton
command:
cmd: bash ./scripts/generate-compose
chdir: "{{docker_compose_bigbluebutton_path}}"
chdir: "{{docker_compose_instance_directory}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600
@@ -10,7 +10,7 @@
- name: docker compose up bigbluebutton
command:
cmd: docker-compose -p bigbluebutton up -d --force-recreate
chdir: "{{docker_compose_bigbluebutton_path}}"
chdir: "{{docker_compose_instance_directory}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600

View File

@@ -9,7 +9,7 @@
- name: pull docker repository
git:
repo: "https://github.com/bigbluebutton/docker.git"
dest: "{{docker_compose_bigbluebutton_path}}"
dest: "{{docker_compose_instance_directory}}"
update: yes
recursive: yes
version: main
@@ -23,5 +23,5 @@
when: git_result.failed
- name: deploy .env
template: src=env.j2 dest={{docker_compose_bigbluebutton_path}}/.env
template: src=env.j2 dest={{docker_compose_instance_directory}}/.env
notify: setup bigbluebutton

View File

@@ -1 +1 @@
docker_compose_bigbluebutton_path: "{{path_docker_compose_files}}bigbluebutton/"
docker_compose_instance_directory: "{{path_docker_compose_files}}bigbluebutton/"