From 0c701d325173c63e0c01e8c4614de3a2312eb153 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Wed, 19 Nov 2025 13:36:00 +0100 Subject: [PATCH] Added hosts.yaml --- training/hosts.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 training/hosts.yaml diff --git a/training/hosts.yaml b/training/hosts.yaml new file mode 100644 index 0000000..60d8044 --- /dev/null +++ b/training/hosts.yaml @@ -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 \ No newline at end of file