From afc6aab3497d086ee8c7f00db0336a17212c56c9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 10 Jul 2026 19:29:13 +0200 Subject: Fix ansible-distro-install The ansible-distro-install depends on using chroot as the connection `Failed to connect to the host via ssh: ssh: Could not resolve hostname /mnt: Name or service not known` moving the ansible_connection variable into the all group, overrides the connection automatically created for the inventory in the ansible-distro-install repo, causing the configure playbook to fail This reverts this change and define the connection on the inventory level --- inventory/hosts.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inventory') diff --git a/inventory/hosts.yml b/inventory/hosts.yml index ce41d1b5..646df106 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -1,5 +1,7 @@ --- homelab: + vars: + ansible_connection: ssh hosts: desktop.local: macbook.local: @@ -8,5 +10,7 @@ homelab: pve.local: containers: + vars: + ansible_connection: ssh hosts: git.local: -- cgit v1.2.3