ansible/services_web.yml
2020-05-09 12:21:36 +02:00

60 lines
1.5 KiB
YAML
Executable file

#!/usr/bin/env ansible-playbook
---
# Deploy Docker hosts
- hosts: docker-ovh.adm.auro.re,docker-worker1-aurore.adm.auro.re
roles:
- docker
# Deploy Passbolt
- hosts: passbolt.adm.auro.re
roles:
- passbolt
# Install DokuWiki on the wiki TEST container
# When it will be operational, horus-wikitest will replace horus-wiki
- hosts: horus-wikitest
roles:
- dokuwiki
# Install NGINX with reverse proxy conf
- hosts: proxy.adm.auro.re
vars:
reversed_proxy_subdomains:
- name: re2o
from: re2o.auro.re
to: re2o-server.adm.auro.re
- name: intranet
from: intranet.auro.re
to: re2o-server.adm.auro.re
- name: phabricator
from: phabricator.auro.re
to: phabricator.adm.auro.re
- name: wiki
from: wiki.auro.re
to: wiki.adm.auro.re
- name: www
from: www.auro.re
to: www.adm.auro.re
- name: re2o-test
from: re2o-test.auro.re
to: re2o-test.adm.auro.re
- name: riot
from: riot.auro.re
to: docker-ovh.adm.auro.re:8080
- name: codimd
from: codimd.auro.re
to: docker-ovh.adm.auro.re:8081
- name: grafana
from: grafana.auro.re
to: docker-ovh.adm.auro.re:8082
- name: privatebin
from: privatebin.auro.re
to: docker-ovh.adm.auro.re:8083
- name: pad
from: pad.auro.re
to: docker-ovh.adm.auro.re:8084
- name: cas
from: cas.auro.re
to: docker-ovh.adm.auro.re:8085
roles:
- nginx-reverse-proxy