Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ch2-inventory/inventory/sanhdp/02-nonFQDN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
all:
hosts:
ubuntu11:
ansible_host: 192.168.100.11
ubuntu12:
ansible_host: 192.168.100.12
centos21:
ansible_host: 192.168.100.21
centos22:
ansible_host: 192.168.100.22
18 changes: 18 additions & 0 deletions ch2-inventory/inventory/sanhdp/03-hostgroups-children copy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
all:
hosts:
fakehost.local:
children:
linux:
children:
ubuntu:
hosts:
ubuntu11:
ansible_host: 192.168.100.11
ubuntu12:
ansible_host: 192.168.100.12
centos:
hosts:
centos21:
ansible_host: 192.168.100.21
centos22:
ansible_host: 192.168.100.22
25 changes: 25 additions & 0 deletions ch2-inventory/inventory/sanhdp/04-hostvars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
all:
hosts:
fakehost.local:
children:
linux:
children:
ubuntu:
hosts:
ubuntu11:
ansible_host: 192.168.100.11
foo: bar
ubuntu12:
ansible_host: 192.168.100.12
vars:
foo: bar2
centos:
hosts:
centos21:
ansible_host: 192.168.100.21
centos22:
ansible_host: 192.168.100.22
vars:
foo: bar1
vars:
foo: bar3