add dynamic motd with hostname, ip and other stats
This commit is contained in:
26
inventory.conf
Normal file
26
inventory.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
localhost ansible_connection=local
|
||||
|
||||
[managed]
|
||||
home ansible_ssh_host=192.168.2.11
|
||||
home02 ansible_ssh_host=192.168.2.22
|
||||
dkhost01 ansible_ssh_host=192.168.2.41
|
||||
#dkhost02 ansible_ssh_host=192.168.2.43
|
||||
dkhost03 ansible_ssh_host=192.168.2.53
|
||||
#dkhost04 ansible_ssh_host=192.168.2.54
|
||||
#logs ansible_ssh_host=192.168.2.42
|
||||
cubox-i ansible_ssh_host=192.168.2.12
|
||||
|
||||
[dkhost]
|
||||
dkhost01 ansible_ssh_host=192.168.2.41
|
||||
#dkhost02 ansible_ssh_host=192.168.2.43
|
||||
dkhost03 ansible_ssh_host=192.168.2.53
|
||||
#dkhost04 ansible_ssh_host=192.168.2.54
|
||||
|
||||
[ns]
|
||||
home02 ansible_ssh_host=192.168.2.22
|
||||
cubox-i ansible_ssh_host=192.168.2.12
|
||||
|
||||
[gfs]
|
||||
home ansible_ssh_host=192.168.2.11
|
||||
cubox-i ansible_ssh_host=192.168.2.12
|
||||
|
||||
Reference in New Issue
Block a user