-
Notifications
You must be signed in to change notification settings - Fork 5
/
inventory.yml
85 lines (80 loc) · 2.62 KB
/
inventory.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
---
all:
hosts:
ngx01:
ansible_host: 192.168.11.111
ansible_ssh_private_key_file: .vagrant/machines/ngx01/virtualbox/private_key
ngx02:
ansible_host: 192.168.11.112
ansible_ssh_private_key_file: .vagrant/machines/ngx02/virtualbox/private_key
postfix01:
ansible_host: 192.168.11.113
ansible_ssh_private_key_file: .vagrant/machines/postfix01/virtualbox/private_key
postfix02:
ansible_host: 192.168.11.114
ansible_ssh_private_key_file: .vagrant/machines/postfix02/virtualbox/private_key
postfix03:
ansible_host: 192.168.11.115
ansible_ssh_private_key_file: .vagrant/machines/postfix03/virtualbox/private_key
# proxysql01:
# ansible_host: 192.168.11.116
# ansible_ssh_private_key_file: .vagrant/machines/proxysql01/virtualbox/private_key
# backup:
# ansible_host: "{{ backup }}"
# ansible_ssh_private_key_file: .vagrant/machines/backup/virtualbox/private_key
pxc1:
ansible_host: 192.168.11.120
ansible_ssh_private_key_file: .vagrant/machines/pxc1/virtualbox/private_key
pxc2:
ansible_host: 192.168.11.121
ansible_ssh_private_key_file: .vagrant/machines/pxc2/virtualbox/private_key
pxc3:
ansible_host: 192.168.11.122
ansible_ssh_private_key_file: .vagrant/machines/pxc3/virtualbox/private_key
vars:
ngx_vip: 192.168.11.110
ngx01_ip: 192.168.11.111
ngx02_ip: 192.168.11.112
postfix_mail_ip: 192.168.11.100
postfix01_ip: 192.168.11.113
postfix02_ip: 192.168.11.114
postfix03_ip: 192.168.11.115
pcm1_ip: 192.168.11.113
pcm2_ip: 192.168.11.114
pcm3_ip: 192.168.11.115
proxysql01_ip: 192.168.11.116
pxc1_ip: 192.168.11.120
pxc2_ip: 192.168.11.121
pxc3_ip: 192.168.11.122
backup_ip: 192.168.11.123
ngx_name: ngx
ngx01_name: ngx01
ngx02_name: ngx02
postfix_mail_name: postfix.loc
postfix01_name: postfix01
postfix02_name: postfix02
postfix03_name: postfix03
pcm1_name: pcm1
pcm2_name: pcm2
pcm3_name: pcm3
proxysql01_name: proxysql01
pxc1_name: pxc1
pxc2_name: pxc2
pxc3_name: pxc3
backup_name: backup
postfix_db_host: proxysql01
postfix_db_port: 6033
postfix_db_user: postfix
postfix_db_pass: postfix
postfix_db_name: postfix
mysql_root_password: otus
mysql_password_sst: sstuserpass
roundcube_mysql_login: roundcube
roundcube_mysql_pass: roundcube
hcluster_password: otus
resource_drbd_name: pf_drbd
postfix_drbd_mountpoint: /mnt/mail
virtualbox_host: "192.168.11.1"
virtualbox_host_username: "vagrant"
virtualbox_host_password: 'vagrant'
...