mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 06:51:04 +01:00
28 lines
744 B
YAML
28 lines
744 B
YAML
---
|
|
- name: "include task certbot-matomo.yml"
|
|
include_tasks: certbot-matomo.yml
|
|
|
|
- name: configure {{domain}}.conf
|
|
template: src=templates/nginx-proxy.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.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
|
|
register: git_result
|
|
ignore_errors: true
|
|
|
|
- name: Warn if repo is not reachable
|
|
debug:
|
|
msg: "Warning: Repository is not reachable."
|
|
when: git_result.failed
|
|
|
|
- name: deploy .env
|
|
template: src=env.j2 dest={{docker_compose_instance_directory}}/.env
|
|
notify: setup bigbluebutton
|