Ensure NGINX deploy. on public-rev.-prox. hosts before certbot role runs
This commit is contained in:
parent
48f9a2f901
commit
3b3c628492
2 changed files with 9 additions and 1 deletions
|
@ -49,6 +49,9 @@ all:
|
|||
keycloak:
|
||||
wiki:
|
||||
engelsystem:
|
||||
public_reverse_proxy_hosts:
|
||||
hosts:
|
||||
public-reverse-proxy:
|
||||
cert_hosts:
|
||||
hosts:
|
||||
certbot_hosts:
|
||||
|
|
|
@ -57,6 +57,11 @@
|
|||
roles:
|
||||
- cert
|
||||
|
||||
- name: Ensure NGINX deployment on nginx_hosts, which are also public_reverse_proxy_hosts, before certbot role runs
|
||||
hosts: nginx_hosts:&public_reverse_proxy_hosts
|
||||
roles:
|
||||
- nginx
|
||||
|
||||
- name: Ensure certbot and certificate deployment on certbot_hosts
|
||||
hosts: certbot_hosts
|
||||
roles:
|
||||
|
@ -68,7 +73,7 @@
|
|||
- docker_compose
|
||||
|
||||
- name: Ensure NGINX deployment on nginx_hosts
|
||||
hosts: nginx_hosts
|
||||
hosts: nginx_hosts:!public_reverse_proxy_hosts
|
||||
roles:
|
||||
- nginx
|
||||
|
||||
|
|
Loading…
Reference in a new issue