forked from OpenConext/OpenConext-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
provision.yml
80 lines (74 loc) · 2.02 KB
/
provision.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
- hosts: all
gather_facts: no
tasks:
- name: Read vars from secrets file
include_vars: "{{ secrets_file }}"
tags:
- always
- hosts: loadbalancer:php-apps:java-apps:storage
gather_facts: no
sudo: true
roles:
- common
- tls
handlers:
- include: roles/httpd/handlers/main.yml
- include: roles/nginx/handlers/main.yml
- hosts: loadbalancer
gather_facts: true
sudo: true
roles:
- { role: haproxy, tags: ['lb'] }
- { role: nginx, tags: ['lb'] }
- hosts: php-apps:java-apps
gather_facts: no
sudo: true
roles:
- httpd
handlers:
- include: roles/httpd/handlers/main.yml
- include: roles/nginx/handlers/main.yml
- hosts: storage
gather_facts: no
sudo: true
roles:
- { role: mysql, tags: ['mysql'] }
- { role: ldap, tags: ['ldap' ] }
- hosts: php-apps
gather_facts: no
sudo: true
gather_facts: no
vars:
env_lang: php
roles:
- php
- static
- { role: openconext-common, tags: ['eb5','sr'] }
- { role: engineblock5, tags: ['eb5' ] }
- { role: janus, tags: ['sr' ] }
handlers:
- include: roles/httpd/handlers/main.yml
- include: roles/nginx/handlers/main.yml
- hosts: java-apps
gather_facts: true
sudo: true
vars:
env_lang: java
roles:
- tomcat
- java
- { role: shibboleth, tags: ['shib' ] }
- { role: mujina-idp, tags: ['mujina' ] }
- { role: mujina-sp, tags: ['mujina' ] }
- { role: grouper, tags: ['grouper'] }
- { role: teams, tags: ['teams' ] }
- { role: authz-server, tags: ['oauth', 'authz-server' ] }
- { role: authz-admin, tags: ['oauth', 'authz-admin' ] }
- { role: voot, tags: ['oauth', 'voot' ] }
- { role: authz-playground, tags: ['oauth', 'authz-playground'] }
- { role: pdp, tags: ['pdp'] }
- { role: oidc, tags: ['oidc'] }
handlers:
- include: roles/httpd/handlers/main.yml
- include: roles/nginx/handlers/main.yml