2020-05-03 18:45:07 +02:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2019-07-22 10:32:01 +02:00
|
|
|
---
|
2021-02-24 11:41:57 +01:00
|
|
|
- hosts: reverseproxy
|
|
|
|
vars:
|
|
|
|
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
|
|
|
nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}'
|
|
|
|
reverseproxy: '{{ glob_reverseproxy | default({}) | combine(loc_reverseproxy | default({})) }}'
|
2021-11-27 20:02:08 +01:00
|
|
|
update_motd:
|
|
|
|
nginx: >-
|
|
|
|
Le reverse-proxy NGINX est déployé (/etc/nginx).
|
2019-07-22 19:14:43 +02:00
|
|
|
roles:
|
2020-05-09 12:54:38 +02:00
|
|
|
- certbot
|
2021-02-24 11:41:57 +01:00
|
|
|
- nginx
|
2021-11-27 20:02:08 +01:00
|
|
|
- update_motd
|
2021-02-01 17:08:06 +01:00
|
|
|
|
2021-02-24 11:41:57 +01:00
|
|
|
- hosts: nginx,!reverseproxy
|
2021-02-01 17:08:06 +01:00
|
|
|
vars:
|
2021-02-24 11:41:57 +01:00
|
|
|
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
2021-02-01 17:08:06 +01:00
|
|
|
nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}'
|
2021-11-27 20:02:08 +01:00
|
|
|
update_motd:
|
|
|
|
nginx: >-
|
|
|
|
NGINX avec certbot est déployé (/etc/nginx).
|
2021-02-01 17:08:06 +01:00
|
|
|
roles:
|
|
|
|
- certbot
|
|
|
|
- nginx
|
2021-11-27 20:02:08 +01:00
|
|
|
- update_motd
|