fix: test vars in inventory
This commit is contained in:
parent
8ef5b02095
commit
14d9f44595
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user