mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-31 15:48:57 +02:00
Renamed webserver roles to more speakable names
This commit is contained in:
14
roles/srv-letsencrypt/tasks/01_core.yml
Normal file
14
roles/srv-letsencrypt/tasks/01_core.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Include dependency 'sys-ctl-mtn-cert-renew'
|
||||
include_role:
|
||||
name: sys-ctl-mtn-cert-renew
|
||||
when: run_once_sys_ctl_mtn_cert_renew is not defined
|
||||
|
||||
- name: create nginx letsencrypt config file
|
||||
template:
|
||||
src: "letsencrypt.conf.j2"
|
||||
dest: "{{NGINX.DIRECTORIES.HTTP.GLOBAL}}letsencrypt.conf"
|
||||
notify: restart openresty
|
||||
|
||||
- name: "Set CAA records for all base domains"
|
||||
include_tasks: 01_set-caa-records.yml
|
||||
when: DNS_PROVIDER == 'cloudflare'
|
Reference in New Issue
Block a user