mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
23 lines
555 B
YAML
23 lines
555 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: nginx-homepage repo git
|
|
git:
|
|
repo: "{{nginx_homepage_repository_address}}"
|
|
dest: "{{nginx_homepage_root}}"
|
|
update: yes
|
|
register: git_result
|
|
ignore_errors: true
|
|
|
|
- name: Warn if repo is not reachable
|
|
debug:
|
|
msg: "Warning: Repository is not reachable."
|
|
when: git_result.failed
|