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

53 lines
1.3 KiB
YAML
Raw Normal View History

2022-12-02 12:57:15 +01:00
---
2024-01-19 15:12:18 +01:00
- name: "include docker/compose/common.yml"
include_tasks: docker/compose/common.yml
2024-01-03 20:17:55 +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
ignore_errors: true
- 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
- name: flush docker service
meta: flush_handlers
- name: wait for database
pause:
2024-01-15 01:00:59 +01:00
seconds: "{{pause_duration}}"
when: mode_setup | bool
- name: create admin
command:
cmd: docker compose exec greenlight bundle exec rake admin:create
chdir: "{{docker_compose_instance_directory}}"
when: mode_setup | bool
ignore_errors: true
register: admin_creation_result
- name: print admin user data
debug:
msg: "{{ admin_creation_result.stdout }}"
2024-01-13 21:38:02 +01:00
when: mode_setup | bool