mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
37 lines
936 B
YAML
37 lines
936 B
YAML
---
|
|
- name: include docker vars
|
|
include_vars: vars/docker-common.yml.j2
|
|
|
|
- name: load docker compose dependencies
|
|
include_role:
|
|
name: docker-compose
|
|
|
|
- name: "include task certbot-matomo.yml"
|
|
include_tasks: certbot-matomo.yml
|
|
|
|
- name: configure {{domain}}.conf
|
|
template:
|
|
src: "nginx-proxy.conf.j2"
|
|
dest: "{{nginx_servers_directory}}{{domain}}.conf"
|
|
notify: restart nginx
|
|
|
|
- name: configure websocket_upgrade.conf
|
|
copy:
|
|
src: "websocket_upgrade.conf"
|
|
dest: "{{nginx_maps_directory}}websocket_upgrade.conf"
|
|
notify: restart nginx
|
|
|
|
- name: pull docker repository
|
|
git:
|
|
repo: "https://github.com/bigbluebutton/docker.git"
|
|
dest: "{{docker_compose_instance_directory}}"
|
|
update: yes
|
|
recursive: yes
|
|
version: main
|
|
notify: setup bigbluebutton
|
|
ignore_errors: true
|
|
|
|
- name: deploy .env
|
|
template: src=env.j2 dest={{docker_compose_instance_directory}}/.env
|
|
notify: setup bigbluebutton
|