From 490f5af066109f756f133ba34032acfc9ab7fe9d Mon Sep 17 00:00:00 2001 From: rcordier Date: Wed, 22 May 2024 13:48:42 -0400 Subject: [PATCH] update: lab inv --- inventories/lab/hosts.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/inventories/lab/hosts.yml b/inventories/lab/hosts.yml index fbcbbd5..77dec69 100644 --- a/inventories/lab/hosts.yml +++ b/inventories/lab/hosts.yml @@ -1,14 +1,19 @@ --- +env_lab: + hosts: + rocky-1: + ansible_host: 192.168.122.129 + rocky-2: + ansible_host: 192.168.122.19 + vars: + ansible_user: cloud-user + +# Inject environment env: children: env_lab: - hosts: - rocky-1: - ansible_host: 192.168.122.129 - rocky-2: - ansible_host: 192.168.122.19 - vars: - ansible_user: cloud-user + +# Inject roles roles: children: role_web: