mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented test-run for certbot due to letsencrypt restrictions
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
- name: "include docker-compose-common.yml"
|
||||
include_tasks: docker-compose-common.yml
|
||||
|
||||
- name: receive {{ mail_interface_domain }} certificate
|
||||
command: certbot certonly --agree-tos --email {{ administrator_email }} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{ mail_interface_domain }}
|
||||
|
||||
- name: receive {{ domain }} certificate
|
||||
command: certbot certonly --agree-tos --email {{ administrator_email }} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{ domain }}
|
||||
|
||||
- name: "include tasks to receive attendize certbot certificate"
|
||||
include_tasks: recieve-certbot-certificate.yml
|
||||
vars:
|
||||
domain: "{{ item }}"
|
||||
loop:
|
||||
- "{{ mail_interface_domain }}"
|
||||
- "{{ domain }}"
|
||||
|
||||
- name: configure {{domain}}.conf
|
||||
template:
|
||||
src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
|
||||
|
Reference in New Issue
Block a user