From 26d781da63ad0368921d6a0eb1f5efcb9bc479d1 Mon Sep 17 00:00:00 2001
From: Student User <student@workstation.lab.example.com>
Date: Wed, 19 Feb 2020 13:08:19 +0100
Subject: [PATCH] fix hosts template

---
 play-with-complex-template.yml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/play-with-complex-template.yml b/play-with-complex-template.yml
index 40338a7..15c5473 100644
--- a/play-with-complex-template.yml
+++ b/play-with-complex-template.yml
@@ -2,6 +2,14 @@
 - name: Simple play for class DO407 which introduces complex j2 templates
   hosts: server, desktop, demoext
   become: true
+  vars:
+    users:
+      - bob:
+          name: Bob Andersen
+          home: /home/bob
+      - anne:
+          name: Anne Clark
+          home: /home/anne
   tasks:
     - name: use template to create /etc/motd
       template:

--
Gitblit v1.9.3