forked from esl/amoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
51 lines (37 loc) · 1.41 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
;; host specific variables
;; hostname graphite_prefix="metric_prefix" node_name="[email protected]"
;; in case of names or example@name in case of snames
;; if you want to alter one of the values from [amoc:vars] (like ssh_pass) for a given host you can do it here
[amoc-master]
localhost graphite_prefix=amoc_master node_name="[email protected]"
[amoc-slave]
host1 graphite_prefix=amoc_1 node_name="[email protected]"
host2 graphite_prefix=amoc_2 node_name="[email protected]"
host3 graphite_prefix=amoc_3 node_name="[email protected]"
host4 graphite_prefix=amoc_4 node_name="[email protected]"
;; group all amoc nodes
[amoc:children]
amoc-master
amoc-slave
;; Allow to setup variables for all hosts in one place
[amoc:vars]
;; ssh user
user=vagrant
;; ssh password if it is required (no public key auth)
;ansible_ssh_pass=root
;; sname|name - which one amoc should use
node_name_type=name
;; specify if ansible should use sudo
;ansible_sudo=false
;; graphite ip address
graphite_ip="172.17.0.38"
;; graphite port used for annotations
graphite_http_port="80"
;; where to install the amoc release on the master node
;; make it distinct from slave_install_dir if you want to run master
;; and slave side by side on one node
master_install_dir="/home/{{user}}/amoc_master"
;; where to install the amoc release on the slave nodes
slave_install_dir="/home/{{user}}/amoc"
;; number of new filedescriptor limit
fileno=500000