From 6ba72c3ad9304bb257c58c0183261639e48dc1ef 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 --- group_vars/all.yml | Bin 50 -> 26 bytes group_vars/all.yml.example | 1 - inventory/hosts.yml | 4 ++++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 8109283b..20f84e62 100644 Binary files a/group_vars/all.yml and b/group_vars/all.yml differ diff --git a/group_vars/all.yml.example b/group_vars/all.yml.example index c612e689..ed97d539 100644 --- a/group_vars/all.yml.example +++ b/group_vars/all.yml.example @@ -1,2 +1 @@ --- -ansible_connection: ssh 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