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

20 lines
632 B
YAML
Raw Normal View History

2023-05-29 13:03:57 +02:00
---
2024-01-19 15:12:18 +01:00
- name: "include docker/compose/database.yml"
include_tasks: docker/compose/database.yml
- name: "include tasks to receive attendize certbot certificate"
include_tasks: recieve-certbot-certificate.yml
vars:
domain: "{{ item }}"
loop:
- "{{ mail_interface_domain }}"
- "{{ domain }}"
2023-05-29 13:03:57 +02:00
- name: configure {{domain}}.conf
template:
src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
dest: "{{nginx_servers_directory}}{{domain}}.conf"
2023-05-29 13:03:57 +02:00
notify: restart nginx
- name: "include tasks update-repository-with-docker-compose.yml"
include_tasks: update-repository-with-docker-compose.yml