2023-08-25 20:50:46 +02:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: certbot
|
|
|
|
vars:
|
|
|
|
certbot__version_spec: "{{ nextcloud__certbot_version_spec }}"
|
|
|
|
certbot__acme_account_email_address: "{{ nextcloud__certbot_acme_account_email_address }}"
|
|
|
|
certbot__certificate_domains:
|
|
|
|
- "{{ nextcloud__fqdn }}"
|
2024-01-28 04:01:06 +01:00
|
|
|
certbot__new_cert_commands:
|
|
|
|
- "systemctl reload nginx.service"
|
2023-08-25 20:50:46 +02:00
|
|
|
- role: nginx
|
|
|
|
vars:
|
|
|
|
nginx__version_spec: "{{ nextcloud__nginx_version_spec }}"
|
|
|
|
nginx__configurations:
|
|
|
|
- name: "{{ nextcloud__fqdn }}"
|
|
|
|
content: "{{ lookup('ansible.builtin.template', 'nginx_nextcloud.conf.j2') }}"
|
|
|
|
- role: docker_compose
|
|
|
|
vars:
|
|
|
|
docker_compose__compose_file_content: "{{ lookup('ansible.builtin.template', 'compose.yaml.j2') }}"
|
|
|
|
docker_compose__configuration_files: []
|