ansible/services_web.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

2020-05-03 18:45:07 +02:00
#!/usr/bin/env ansible-playbook
2019-07-22 10:32:01 +02:00
---
# Deploy Docker hosts
- 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:
router:
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
- 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
- nginx
2021-11-27 20:02:08 +01:00
- update_motd
- hosts: nginx,!reverseproxy
vars:
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
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).
roles:
- certbot
- nginx
2021-11-27 20:02:08 +01:00
- update_motd