-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_hosts_inventory.txt
75 lines (54 loc) · 1.04 KB
/
example_hosts_inventory.txt
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
[staging_DB]
192.168.1.1
192.168.1.2
[staging_WEB]
192.168.2.1
195.168.2.2
[staging_APP]
192.168.3.1
192.168.3.2
[staging_ALL:children]
staging_DB
staging_WEB
staging_APP
[prod_DB]
10.10.1.1
10.10.1.2
[prod_WEB]
10.10.2.1
10.10.2.2
[prod_APP]
10.10.3.1
10.10.3.2
[prod_ALL:children]
prod_DB
prod_WEB
prod_APP
[DB_ALL]:children
staging_DB
prod_DB
[APP_ALL:children]
staging_APP
prod_APP
[ANOTHER:children]
DB_ALL
APP_ALL
[ANOTHER:vars]
message=TestHello
[staging_servers]
linuxX ansible_host=172.31.8.69 ansible_user=ec2-user ansible_ssh_private_key_file=/home/ec2-user.ssh/california-key1.pem
[prod_servers]
linux1 ansible_host=172.31.27.16
linux2 ansible_host=172.31.19.188
[prod_servers:vars]
ansible_user=ec2-user
ansible_ssh_private_key_file=/home/ec2-user.ssh/california-key2.pem
[windows_servers]
windows2012 ansible_host=172.31.4.99
windows2016 ansible_host=172.31.13.170
[windows_servers:vars]
ansible_user = myadmin
ansible_password = qwerty1234
ansible_port = 5986
ansible_connection = winrm
ansible_winrm_server_cert_validation = ignore