-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite.yml
More file actions
51 lines (46 loc) · 1.23 KB
/
site.yml
File metadata and controls
51 lines (46 loc) · 1.23 KB
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
# Main playbook for Balchivist
- name: Apply common configuration settings to all nodes
hosts: all
roles:
- common
- mariadb-client
- php
- name: Configure and deploy Balchivist runners
hosts: runners
become: yes # become root
roles:
- apache
- balchivist
- name: Configure web servers
hosts: webservers
become: yes # become root
roles:
- nginx
- dumpsmirror
# - balchivistweb
vars:
balchivist_environment: production
dumps_server_name: dumps.wmcloud.org
balchivist_web_directory: /srv/balchivist-web
balchivist_web_port: 3000
balchivist_api_directory: /srv/balchivist-api
balchivist_api_port: 8000
mirror_server_name: mirror.wmcloud.org
mirror_document_root: /public/dumps/public
- name: Configure staging web servers
hosts: webserversqa
become: yes # become root
roles:
- nginx
- balchivistweb
vars:
balchivist_environment: staging
dumps_server_name: dumpsstaging.wmcloud.org
balchivist_web_directory: /srv/balchivist-web-staging
balchivist_web_port: 3001
balchivist_api_directory: /srv/balchivist-api-staging
balchivist_api_port: 8001
- name: Configure cron for legacy Balchivist
hosts: runners[0]
roles:
- legacycron