computer-playbook/roles/docker-bigbluebutton/tasks/main.yml

36 lines
928 B
YAML
Raw Normal View History

2022-12-02 12:57:15 +01:00
---
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
2022-12-02 12:57:15 +01:00
- 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"
2022-12-02 12:57:15 +01:00
notify: restart nginx
- name: pull docker repository
git:
repo: "https://github.com/bigbluebutton/docker.git"
2023-12-05 18:45:26 +01:00
dest: "{{docker_compose_instance_directory}}"
2022-12-02 12:57:15 +01:00
update: yes
recursive: yes
version: main
2022-12-02 21:18:55 +01:00
notify: setup bigbluebutton
register: git_result
ignore_errors: true
- name: Warn if repo is not reachable
debug:
msg: "Warning: Repository is not reachable."
when: git_result.failed
2022-12-02 21:18:55 +01:00
- name: deploy .env
2023-12-05 18:45:26 +01:00
template: src=env.j2 dest={{docker_compose_instance_directory}}/.env
2022-12-02 21:18:55 +01:00
notify: setup bigbluebutton