-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsample.hosts
75 lines (70 loc) · 2.06 KB
/
sample.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
### Ansible uses groups to help manage deployments.
### The groups used here are data, index, and idp.
### Each host specified under [data] will be assigned the first host under [index] as the
### index peer node and the first host under [idp] as the idp peer node, even if
### multiple hosts are specified under [idp] or [index]. At least one host
### must be specified for each group.
### Local Deployment
### If this is going to be a local deployment, meaning Ansible is being
### run on the node itself, it is required to still use the fully qualified
### domain name for each host. *Always use fully qualified domain names.*
### The host should also be followed with 'ansible_connection=local' in the
### case of a local deployment. This avoids doing any ssh connection or auth.
# Ex. local deployment to, and from, 'myhost.my.org':
# [data]
# myhost.my.org ansible_connection=local
#
# [index]
# myhost.my.org ansible_connection=local
#
# [idp]
# myhost.my.org ansible_connection=local
### Single Machine Remote Deployment
# Ex. remote deployment to 'myhost.my.org':
# [data]
# myhost.my.org
#
# [index]
# myhost.my.org
#
# [idp]
# myhost.my.org
### Data-only Deployment
### If this is going to be used for a data-only deployment
### the index and idp groups MUST still be specified with the host(s)
### that will be used, respectively.
### See the data-only install examples in the README for how to
### direct the installer to only deploy to the data node.
# Ex:
# [data]
# host-data.my.org
#
# [index]
# host-index-idp.OTHER.org
#
# [idp]
# host-index-idp.OTHER.org
### Deploying to Multiple Machines
### It is possible to deploy and manage multiple machines in parallel
# Ex:
# [data]
# host-data.my.org
#
# [index]
# host-index-idp.my.org
#
# [idp]
# host-index-idp.my.org
### Or with multiple data nodes.
# Ex:
# [data]
# host-data1.my.org
# host-data2.my.org
# host-data3.my.org
# host-dataN.my.org
#
# [index]
# host-index-idp.my.org
#
# [idp]
# host-index-idp.my.org