From 371475c01866af1a349de66f4e440e3c397faa97 Mon Sep 17 00:00:00 2001 From: lqvan87 Date: Fri, 28 May 2021 15:29:36 +0000 Subject: [PATCH] add 03-hostgroups-children.yml --- .../student-lqvan/03-hostgroups-children.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ch2-inventory/student-lqvan/03-hostgroups-children.yml diff --git a/ch2-inventory/student-lqvan/03-hostgroups-children.yml b/ch2-inventory/student-lqvan/03-hostgroups-children.yml new file mode 100644 index 0000000..75f26b0 --- /dev/null +++ b/ch2-inventory/student-lqvan/03-hostgroups-children.yml @@ -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