2020-05-03 18:45:07 +02:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2019-07-22 10:32:01 +02:00
|
|
|
---
|
|
|
|
# Deploy Docker hosts
|
2020-12-24 01:46:16 +01:00
|
|
|
- hosts: docker-ovh.adm.auro.re,gitea.adm.auro.re,drone.adm.auro.re,stream.adm.auro.re,wikijs.adm.auro.re
|
2021-11-27 22:16:29 +01:00
|
|
|
vars:
|
2021-11-27 22:30:58 +01:00
|
|
|
update_motd:
|
2021-11-27 22:16:29 +01:00
|
|
|
docker: Docker est déployé.
|
2019-07-22 10:32:01 +02:00
|
|
|
roles:
|
|
|
|
- docker
|
2021-11-27 22:16:29 +01:00
|
|
|
- update_motd
|
2019-07-22 19:14:43 +02:00
|
|
|
|
|
|
|
# Deploy Passbolt
|
|
|
|
- hosts: passbolt.adm.auro.re
|
|
|
|
roles:
|
|
|
|
- passbolt
|
|
|
|
|
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
|