add: nez inventories
This commit is contained in:
parent
842d0511fd
commit
2613a55a82
@ -6,4 +6,6 @@ all:
|
|||||||
# Place role mapping here
|
# Place role mapping here
|
||||||
children:
|
children:
|
||||||
role_web:
|
role_web:
|
||||||
|
vars:
|
||||||
|
app_domain: "domain.{{ top_domain }}"
|
||||||
role_db:
|
role_db:
|
||||||
|
|||||||
21
inventories/lab/hosts.yml
Normal file
21
inventories/lab/hosts.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
env_lab:
|
||||||
|
hosts:
|
||||||
|
rocky-1:
|
||||||
|
ansible_host: 192.168.122.222
|
||||||
|
rocky-2:
|
||||||
|
ansible_host: 192.168.122.96
|
||||||
|
vars:
|
||||||
|
ansible_user: cloud-user
|
||||||
|
environment_name: lab
|
||||||
|
|
||||||
|
# Inject roles
|
||||||
|
roles:
|
||||||
|
children:
|
||||||
|
role_web:
|
||||||
|
hosts:
|
||||||
|
rocky-1:
|
||||||
|
role_db:
|
||||||
|
hosts:
|
||||||
|
rocky-2:
|
||||||
|
|
||||||
30
inventories/rob/toto.yml
Normal file
30
inventories/rob/toto.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
env_rob:
|
||||||
|
hosts:
|
||||||
|
rocky-1:
|
||||||
|
ansible_host: 192.168.122.87
|
||||||
|
rocky-2:
|
||||||
|
ansible_host: 1.2.3.4
|
||||||
|
rocky-3:
|
||||||
|
ansible_host: 192.168.122.229
|
||||||
|
vars:
|
||||||
|
ansible_user: cloud-user
|
||||||
|
environment_name: rob
|
||||||
|
|
||||||
|
# Inject roles
|
||||||
|
roles:
|
||||||
|
children:
|
||||||
|
role_web:
|
||||||
|
vars:
|
||||||
|
app_domain: titi.activia.cim
|
||||||
|
hosts:
|
||||||
|
rocky-1:
|
||||||
|
role_db:
|
||||||
|
hosts:
|
||||||
|
rocky-1:
|
||||||
|
role_admin:
|
||||||
|
vars:
|
||||||
|
app_domain: admin.activia.cim
|
||||||
|
hosts:
|
||||||
|
rocky-1:
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user