You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
4 years ago
|
#!/usr/bin/env ansible-playbook
|
||
5 years ago
|
---
|
||
|
# Deploy Docker hosts
|
||
3 years ago
|
- hosts: docker-ovh.adm.auro.re,gitea.adm.auro.re,drone.adm.auro.re,stream.adm.auro.re,wikijs.adm.auro.re
|
||
3 years ago
|
vars:
|
||
3 years ago
|
update_motd:
|
||
3 years ago
|
docker: Docker est déployé.
|
||
5 years ago
|
roles:
|
||
|
- docker
|
||
3 years ago
|
- update_motd
|
||
5 years ago
|
|
||
|
# Deploy Passbolt
|
||
|
- hosts: passbolt.adm.auro.re
|
||
|
roles:
|
||
|
- passbolt
|
||
|
|
||
3 years ago
|
- 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({})) }}'
|
||
3 years ago
|
update_motd:
|
||
|
nginx: >-
|
||
|
Le reverse-proxy NGINX est déployé (/etc/nginx).
|
||
5 years ago
|
roles:
|
||
4 years ago
|
- certbot
|
||
3 years ago
|
- nginx
|
||
3 years ago
|
- update_motd
|
||
3 years ago
|
|
||
3 years ago
|
- hosts: nginx,!reverseproxy
|
||
3 years ago
|
vars:
|
||
3 years ago
|
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
||
3 years ago
|
nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}'
|
||
3 years ago
|
update_motd:
|
||
|
nginx: >-
|
||
|
NGINX avec certbot est déployé (/etc/nginx).
|
||
3 years ago
|
roles:
|
||
|
- certbot
|
||
|
- nginx
|
||
3 years ago
|
- update_motd
|