chore: remove old inventory for now and add vagrant
old inventory was never in use. Vagrant for local development
This commit is contained in:
parent
a376d31617
commit
102b1d487f
18 changed files with 198 additions and 43 deletions
36
inventories/vagrant/hosts.ini
Normal file
36
inventories/vagrant/hosts.ini
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# This file defines the group structure for vagrant VMs
|
||||
# Fixed IPs are defined in the Vagrantfile
|
||||
# Additional host-specific variables should go in host_vars/
|
||||
# Group-specific variables should go in group_vars/
|
||||
|
||||
[all_servers]
|
||||
dmz ansible_host=192.168.56.10 ansible_ssh_private_key_file=.vagrant/machines/dmz/libvirt/private_key ansible_user=vagrant
|
||||
backend ansible_host=192.168.56.11 ansible_ssh_private_key_file=.vagrant/machines/backend/libvirt/private_key ansible_user=vagrant
|
||||
backend2 ansible_host=192.168.56.12 ansible_ssh_private_key_file=.vagrant/machines/backend2/libvirt/private_key ansible_user=vagrant
|
||||
|
||||
# Backend servers that host application services
|
||||
[backend_servers]
|
||||
backend
|
||||
backend2
|
||||
|
||||
# Reverse proxy servers in DMZ (public-facing, file provider mode)
|
||||
[traefik_servers_dmz]
|
||||
dmz
|
||||
|
||||
# Reverse proxy servers on backend (docker provider mode)
|
||||
[traefik_servers_backend]
|
||||
backend
|
||||
backend2
|
||||
|
||||
# All reverse proxy servers
|
||||
[traefik_servers:children]
|
||||
traefik_servers_dmz
|
||||
traefik_servers_backend
|
||||
|
||||
# Application servers
|
||||
[httpbin_servers]
|
||||
backend
|
||||
backend2
|
||||
|
||||
[keycloak_servers]
|
||||
backend
|
||||
Loading…
Add table
Add a link
Reference in a new issue