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

20 lines
632 B
YAML

---
- 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 }}"
- name: configure {{domain}}.conf
template:
src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
dest: "{{nginx_servers_directory}}{{domain}}.conf"
notify: restart nginx
- name: "include tasks update-repository-with-docker-compose.yml"
include_tasks: update-repository-with-docker-compose.yml