-
Notifications
You must be signed in to change notification settings - Fork 80
/
inventory.yml
47 lines (38 loc) · 969 Bytes
/
inventory.yml
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
# Sample inventory file for Redfish Ansible modules
#
# For baseuri, if specifying names instead of IP addresses, make sure
# that name is fully DNS resolvable.
[master]
master1 baseuri=idrac-master1
master2 baseuri=idrac-master2
[db]
db1 baseuri=idrac-db1 password=overrideP@$$word
db2 baseuri=idrac-db2
db3 baseuri=idrac-db3
[web]
web1 baseuri=192.168.2.11
web2 baseuri=192.168.2.12
web3 baseuri=192.168.2.13
[app]
app1 baseuri=192.168.3.10
app2 baseuri=192.168.3.11
app3 baseuri=192.168.3.12
[myhosts:children]
master
db
web
app
[myhosts:vars]
# Credentials for OOB controller
username=root
password=P@$$word
# Local directory where all results are placed
rootdir=~/inventory_files
# Shorter name for inventory_hostname.
# Refers to the OS hostname, not the OOB controller.
host="{{inventory_hostname}}"
# For managing users
id=3
new_username=user3
new_password=B1g$3cr3t
role_id=Operator