fix: test vars in inventory

This commit is contained in:
rcordier 2024-05-22 15:46:50 -04:00
parent 8ef5b02095
commit 14d9f44595
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
all: all:
children: children:
env: env:
# Place your environment here
roles: roles:
# Place role mapping here
children: children:
role_web: role_web:
role_db: role_db:

View File

@ -7,7 +7,7 @@ env_fake:
vars: vars:
ansible_host: localhost ansible_host: localhost
ansible_connection: local ansible_connection: local
environment_name2: fake5 environment_name: fake
roles: roles:
children: children:

View File

@ -2,12 +2,12 @@
env_lab: env_lab:
hosts: hosts:
rocky-1: rocky-1:
#ansible_host: 192.168.122.129 ansible_host: 192.168.122.129
rocky-2: rocky-2:
#ansible_host: 192.168.122.19 ansible_host: 192.168.122.19
vars: vars:
ansible_user: cloud-user ansible_user: cloud-user
environment_name2: lab5 environment_name: lab
# Inject roles # Inject roles
roles: roles: