summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-10 19:29:13 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-12 22:05:12 +0200
commitafc6aab3497d086ee8c7f00db0336a17212c56c9 (patch)
treefdb5d517d48ada7c4e2c08418a40fd404d410f3f
parent58bc35f4d7ae8be5327fbda24dd3db240c804f99 (diff)
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
-rw-r--r--group_vars/all.ymlbin50 -> 26 bytes
-rw-r--r--group_vars/all.yml.example1
-rw-r--r--inventory/hosts.yml4
3 files changed, 4 insertions, 1 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
index 8109283b..20f84e62 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
Binary files 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: