-
Notifications
You must be signed in to change notification settings - Fork 0
/
front_end_2.yml
122 lines (100 loc) · 3.03 KB
/
front_end_2.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# - hosts: percona_servers
# vars_prompt:
# - name: percona_server_number
# prompt: Enter Percona Server Number
# private: no
# - name: active_vault_address
# prompt: Enter host and domain of active vault server
# private: no
# gather_facts: True
# become: yes
# roles:
# - percona_step_2
# tags:
# - percona-step-2
# - hosts: percona_servers
# vars_prompt:
# - name: percona_password
# prompt: Enter Percona Root Password
# - name: secondary_host
# prompt: Enter host and domain of the secondary percona server
# private: no
# - name: repl_pass
# prompt: Enter password for the percona replication user
# gather_facts: True
# become: yes
# roles:
# - percona_replication_primary
# tags:
# - percona-replication-primary
# - hosts: percona_servers
# vars_prompt:
# - name: percona_password
# prompt: Enter Percona Root Password
# - name: primary_host
# prompt: Enter host and domain of the primary percona server
# private: no
# - name: repl_pass
# prompt: Enter password for the percona replication user
# gather_facts: True
# become: yes
# roles:
# - percona_replication_secondary
# tags:
# - percona-replication-secondary
# - hosts: haxproxy_servers
# gather_facts: True
# become: yes
# roles:
# - haproxy
# tags:
# - haproxy
# - hosts: percona_servers
# gather_facts: True
# environment:
# DEBIAN_FRONTEND: noninteractive
# become: yes
# roles:
# - percona_step_2
# tags:
# - percona-step-2
- hosts: civipress_frontend_servers
vars_prompt:
- name: certbot_email
prompt: Enter cerbot email
private: no
- name: primary_percona_host
prompt: Enter primary percona host
private: no
- name: primary_percona_host_no_domain
prompt: Enter primary percona host with no domain (ie. d4 or d5)
private: no
- name: secondary_percona_host
prompt: Enter secondary percona host
private: no
- name: proxysql_pass
prompt: Enter the proxysql monitor user password (cat /root/.mysql.proxy_monitor on the primary percona server)
- name: orch_topo_pass
prompt: Enter the orchestrator topolgy user password (cat /root/.mysql.orch on the primary percona server)
- name: wp_db
prompt: Enter wordpress database name
private: no
- name: wp_user
prompt: Enter wordpress user
private: no
- name: crm_db
prompt: Enter civicrm database name
private: no
- name: crm_user
prompt: Enter civicrm user
private: no
- name: wp_user_pass
prompt: Enter the wp_user password (cat /root/.mysql.wp_user on the primary percona server)
- name: crm_user_pass
prompt: Enter the crm_user password (cat /root/.mysql.crm_user on the primary percona server)
gather_facts: True
become: yes
roles:
- front_end_2
tags:
- front-end_2