From 72825873f755b6cc655eab0c88193b2233bfa1e1 Mon Sep 17 00:00:00 2001 From: DerBunman Date: Sat, 16 Nov 2019 12:39:03 +0100 Subject: [PATCH] some more examples --- inventories/example.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/inventories/example.yml b/inventories/example.yml index 916370c1..0221807d 100644 --- a/inventories/example.yml +++ b/inventories/example.yml @@ -53,11 +53,17 @@ all: # this host is a example for a non root host testvm: - ansible_host: 192.168.122.242 + # here we overwrite the users that are defined for all hosts + users: + # for non-root, only the following two keys are needed for now + - name: "test" + home: /home/test + + ansible_host: 192.168.122.55 # the following two parameters have to be set # for non root hosts ansible_become: no - ansible_user: ichi + ansible_user: test children: # the desktop group will have