forked from Bahmni/bahmni-tw-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
provision.yml
87 lines (82 loc) · 1.93 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
81
82
83
84
85
86
87
- hosts: "{{ host | default('tag_role_build-agent') }}"
become: yes
vars:
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q [email protected]"'
ansible_user: centos
roles:
- epel-repo
- oracle-java
- build-utils
- ruby2.2.2
- go-agent
- postgres
- mysql
- maven
- firefox
- chrome
- gauge
- httpd
vars_files:
- "group_vars/vars.yml"
tags:
- provision_build_agent
- hosts: tag_role_bastion-server
become: yes
vars:
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q [email protected]"'
ansible_user: centos
roles:
- bastion
vars_files:
- "group_vars/vars.yml"
tags:
- provision_bastion
- hosts: "{{ host | default('tag_Name_ci') }}"
become: yes
vars:
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q [email protected]"'
ansible_user: centos
roles:
- mysql
- epel-repo
- buildserver
vars_files:
- "group_vars/vars.yml"
tags:
- provision_build_server
- hosts: tag_role_proxy_server
become: yes
vars:
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q [email protected]"'
ansible_user: centos
roles:
- haproxy
vars_files:
- "group_vars/aws_credentials.yml"
tags:
- update_proxy
- hosts: "{{ host | default('tag_role_bahmni_server') }}"
become: yes
vars:
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q [email protected]"'
ansible_user: centos
roles:
- ssl-certs
vars_files:
- "group_vars/aws_credentials.yml"
- "group_vars/cidr_blocks.yml"
tags:
- renew_certs
- hosts: "{{ host | default('tag_role_bahmni_server') }}"
become: yes
vars:
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q [email protected]"'
ansible_user: centos
roles:
- epel-repo
- oracle-java
- go-agent
vars_files:
- "group_vars/vars.yml"
tags:
- provision_bahmni_server