-
Notifications
You must be signed in to change notification settings - Fork 1
/
all_hosts_file.sls
79 lines (70 loc) · 1.23 KB
/
all_hosts_file.sls
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
{% set hostvars = salt['pillar.get'](opts.id) %}
{# setup evpn peers #}
{% for item in hostvars.frr.evpn.peers %}
{{item.name}}:
host.present:
- ip: {{item.ip}}
{% endfor %}
{{hostvars.hostname}}:
host.present:
- ip: {{hostvars.zt_ip}}
p10:
host.present:
- ip: 10.55.0.10
p12:
host.present:
- ip: 10.55.0.12
p75:
host.present:
- ip: 10.55.0.75
lm1:
host.present:
- ip: 10.12.10.7
salt:
host.present:
{% if opts.id == 'lm2' %}
- ip: 10.12.7.149
{% else %}
- ip: 86.29.22.70
{% endif %}
salt.wizznet.co.uk:
host.present:
{% if opts.id == 'lm2' %}
- ip: 10.12.7.149
{% else %}
- ip: 86.29.22.70
{% endif %}
127.0.1.1:
host.only:
- hostnames: []
localhost:
host.present:
- ip: 127.0.0.1
mfsmaster:
host.present:
- ip: 10.55.0.20
chunkserver1:
host.present:
- ip: 10.55.0.20
metalogger_1:
host.present:
- name: metalogger
- ip: 10.55.0.20
cgiserver_1:
host.present:
- name: cgiserver
- ip: 10.55.0.20
shadowmaster:
host.present:
- ip: 10.55.0.21
chunkserver2:
host.present:
- ip: 10.55.0.21
metalogger_2:
host.present:
- name: metalogger
- ip: 10.55.0.21
cgiserver_2:
host.present:
- name: cgiserver
- ip: 10.55.0.21