27 lines
1,000 B
YAML
27 lines
1,000 B
YAML
dependencies:
|
|
- role: docker_compose
|
|
vars:
|
|
docker_compose__compose_file_content: "{{ lookup('ansible.builtin.template', 'compose.yaml.j2') }}"
|
|
docker_compose__configuration_files: []
|
|
|
|
- role: certbot
|
|
vars:
|
|
certbot__new_cert_commands:
|
|
- "systemctl restart nginx.service"
|
|
certbot__certs:
|
|
- commonName: "dooris.ccchh.net"
|
|
challengeType: "dns-01-acme-dns"
|
|
dns_01_acme_dns:
|
|
subdomain: "37caae1f-b77f-4eb1-aa71-dc3f7ed24360"
|
|
apiUser: "fd42b696-a394-4e2a-8fcc-d44c9fac5d4e"
|
|
apiKey: "{{ secret__acme_dns_api_key_dooris_ccchh_net }}"
|
|
|
|
- role: nginx
|
|
vars:
|
|
nginx__version_spec: ""
|
|
nginx__deploy_redirect_conf: false
|
|
nginx__configurations:
|
|
- name: "{{ dooris__hostname }}"
|
|
content: "{{ lookup('ansible.builtin.template', 'nginx/site.conf') }}"
|
|
- name: http_handler
|
|
content: "{{ lookup('ansible.builtin.template', 'nginx/http_handler.conf') }}"
|