Added hosts.yaml

This commit is contained in:
2025-11-19 13:36:00 +01:00
parent 87cfd4c804
commit 0c701d3251

24
training/hosts.yaml Normal file
View File

@@ -0,0 +1,24 @@
all:
ansible_python_interpreter: /usr/bin/python3.12
database:
hosts:
db_01:
ansible_host: 192.168.11.20
ansible_connection: ssh
ansible_user: vagrant
ansible_ssh_password: vagrant
loadbalancer:
hosts:
lb_01:
ansible_host: 192.168.11.30
ansible_connection: ssh
ansible_user: vagrant
ansible_ssh_password: vagrant
webserver:
hosts:
db_01:
ansible_host: 192.168.11.40
ansible_connection: ssh
ansible_user: vagrant
ansible_ssh_password: vagrant