mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored use of variables
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -1 +1 @@
|
||||
docker_compose_bigbluebutton_path: "{{path_docker_compose_files}}bigbluebutton/"
|
||||
docker_compose_instance_directory: "{{path_docker_compose_files}}bigbluebutton/"
|
Reference in New Issue
Block a user