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: