computer-playbook/roles/nginx-homepage/tasks/main.yml

16 lines
443 B
YAML

---
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
- name: configure {{domain}}.conf
template:
src: "homepage.nginx.conf.j2"
dest: "{{nginx_servers_directory}}{{domain}}.conf"
notify: restart nginx
- name: "pull homepage from {{nginx_homepage_repository_address}}"
git:
repo: "{{nginx_homepage_repository_address}}"
dest: "{{nginx_homepage_root}}"
update: yes
ignore_errors: true