From 3d4e765b387ee652962697fffbcf00ced99afec4 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Wed, 19 Nov 2025 13:38:10 +0100 Subject: [PATCH] Added hosts-yaml 2 --- misc/hosts-yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 misc/hosts-yaml diff --git a/misc/hosts-yaml b/misc/hosts-yaml new file mode 100644 index 0000000..60d8044 --- /dev/null +++ b/misc/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