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

16 lines
443 B
YAML
Raw Normal View History

---
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
2020-12-24 14:27:31 +01:00
- name: configure {{domain}}.conf
template:
src: "homepage.nginx.conf.j2"
dest: "{{nginx_servers_directory}}{{domain}}.conf"
2020-12-24 14:27:31 +01:00
notify: restart nginx
2024-01-06 13:10:33 +01:00
- name: "pull homepage from {{nginx_homepage_repository_address}}"
2020-12-24 14:27:31 +01:00
git:
2023-11-17 13:54:56 +01:00
repo: "{{nginx_homepage_repository_address}}"
dest: "{{nginx_homepage_root}}"
2020-12-24 14:27:31 +01:00
update: yes
2024-01-06 13:10:33 +01:00
ignore_errors: true