Ensure NGINX deploy. on public-rev.-prox. hosts before certbot role runs

This commit is contained in:
June 2023-08-03 04:15:03 +02:00 committed by julian
commit 3b3c628492
2 changed files with 9 additions and 1 deletions

View file

@ -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