From bbde468f2a0dd1cbd4a7af3b725762eb6f5ee038 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Wed, 19 Nov 2025 13:35:21 +0100 Subject: [PATCH] Added inventory --- misc/all-hosts.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/misc/all-hosts.yaml b/misc/all-hosts.yaml index d17047b..60d8044 100644 --- a/misc/all-hosts.yaml +++ b/misc/all-hosts.yaml @@ -1,23 +1,24 @@ all: ansible_python_interpreter: /usr/bin/python3.12 - + database: hosts: - db_server_1: 192.168.11.20 + db_01: + ansible_host: 192.168.11.20 ansible_connection: ssh ansible_user: vagrant ansible_ssh_password: vagrant - loadbalancer: hosts: - lb_server_1: 192.168.11.30 + lb_01: + ansible_host: 192.168.11.30 ansible_connection: ssh ansible_user: vagrant ansible_ssh_password: vagrant - webserver: hosts: - ws_server_1: 192.168.11.40 + db_01: + ansible_host: 192.168.11.40 ansible_connection: ssh ansible_user: vagrant ansible_ssh_password: vagrant \ No newline at end of file