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

28 lines
744 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
2022-12-02 21:18:55 +01:00
template: src=templates/nginx-proxy.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.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