forked from Princeton-CDH/cdh-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
105 lines (84 loc) · 2.09 KB
/
hosts
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
######
# The configuration of hosts depends on groups and child groups to ensure
# the least redundant configuration of group variables.
#
# The usual configuration stanza for a project will be to have a project_prod
# and project_qa (in the format of those already configured), followed by a
# stanza beginning [project:children], which groups the project environments.
# These correspond exactly to their entries in group_vars/.
#
# After the project declarations, you will find more global group:children
# declarations, such as [qa:children], which is the group that holds all
# global variables for qa deploys.
#
# Inheritance has some potential gotchas. All top level groups inherit from
# group_vars/all, but when two groups inherit from a group on the same level
# (i.e. qa and ppa), any overlapping variables are resolved with the
# group last in alphabetical order 'winning':
# See https://docs.ansible.com/ansible/2.5/user_guide/intro_inventory.html#how-variables-are-merged
######
[derrida_qa]
test-derrida.cdh.princeton.edu
[derrida_prod]
derridas-margins.princeton.edu
[derrida:children]
derrida_qa
derrida_prod
[cdhweb_qa]
cdh-test-web1.princeton.edu
[cdhweb_prod]
cdh-web1.princeton.edu
[cdhweb:children]
cdhweb_qa
cdhweb_prod
[shxco_qa]
cdh-test-shxco1.princeton.edu
[shxco_prod]
cdh-shxco1.princeton.edu
[shxco:children]
shxco_qa
shxco_prod
[geniza_qa]
cdh-test-geniza1.princeton.edu
[geniza_prod]
cdh-geniza1.princeton.edu
[geniza:children]
geniza_qa
geniza_prod
dev
[derrida_crawl_qa]
cdh-test-derrida-crawl1.princeton.edu
[derrida_archive_qa]
cdh-test-derrida1.princeton.edu
[prosody_qa]
cdh-test-prosody1.princeton.edu
[prosody_prod]
cdh-prosody1.princeton.edu
[prosody:children]
prosody_qa
prosody_prod
### PUL solr servers
[solr_staging]
lib-solr-staging4.princeton.edu
[solr_prod]
lib-solr-prod4.princeton.edu
[solr:children]
solr_staging
solr_prod
### environment-based stanzas to create shared groups
[prod:children]
derrida_prod
cdhweb_prod
geniza_prod
shxco_prod
prosody_prod
[qa:children]
derrida_qa
cdhweb_qa
geniza_qa
shxco_qa
derrida_crawl_qa
derrida_archive_qa
prosody_qa
[dev]
localhost