-
Notifications
You must be signed in to change notification settings - Fork 5
/
staging
113 lines (76 loc) · 2.35 KB
/
staging
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
[syslog]
10.0.20.100 ansible_ssh_user=ubuntu
[db]
10.0.20.85 ansible_ssh_user=ubuntu
[dbslave]
10.0.20.99 ansible_ssh_user=ubuntu
[nfs]
10.0.20.102 ansible_ssh_user=ubuntu
[web]
10.0.20.101 ansible_ssh_user=ubuntu
[sync]
10.0.20.107 ansible_ssh_user=ubuntu
[ldap]
10.0.20.103 ansible_ssh_user=ubuntu
[lb]
10.0.20.106 ansible_ssh_user=ubuntu
[cmd]
localhost ansible_connection=local
# in the small setup, there is no monitoring server defined
# you still need this grouping though for the scripts to
# work
[monitoring]
[staging:children]
syslog
db
dbslave
nfs
ldap
lb
web
monitoring
cmd
[staging:vars]
# tld - the top level domain for this service
domain=take-back-the.net
# the dns entry name of the service (maps to the public IP of the loadbalancer)
service_name=drive-stage.$domain
# The external IP of the loadbalancer
lb_external_ip=130.59.113.26
# the IP range (/24) of the internal network
# used for access control etc.
internal_network=10.0.20.0
# the internal IP address of the LDAP Server (same as the one above)
ldap_ip=10.0.20.104
# The host name of the LDAP server
ldap_host=stage-ldap
# The password that the cn=admin account has on the LDAP server
ldap_password=myLDAPPassword
# The internal IP address of the NFS server
nfs_ip=10.0.20.102
# The internal IP address of the database server
db_ip=10.0.20.85
slave_ip=10.0.20.99
# The internal IP address of the syslog server
syslog_ip=10.0.20.100
# The admin password for the owncloud instance (login is "admin")
admin_pass=ownCloudAdmin
# The version number of the ownCloud code installed
OWNCLOUD_VERSION='6.0.5'
# Is this an enterprise version of owncloud? Set to true, it will install
# the enterprise version (the tgz file must be in 'roles/owncloud/files/owncloudEE)
enterprise=false
community=true
# is this a staging system? If true, the public keys of the developers (vars/users.yml)
# are added to the 'authorized_keys' of the ubuntu user of the virtual machines
staging_system=true
# The email address that is being used to send LDAP statistics to
# servers mails to root (cronjobs) are sent to this address
notification_mail=root@$domain
#ha proxy username and password
HAPROXY_USER=user
HAPROXY_PASSWORD=secretHaproxyPassword
# Set the list of users that have access to these servers
admin_users={{ staging_users }}