summaryrefslogtreecommitdiffstats
path: root/inventory/hosts.yml
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
commit6ba72c3ad9304bb257c58c0183261639e48dc1ef (patch)
treefdb5d517d48ada7c4e2c08418a40fd404d410f3f /inventory/hosts.yml
parent93669cd40df4fa0c17e67140abe5d75c7049ca1c (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
Diffstat (limited to 'inventory/hosts.yml')
-rw-r--r--inventory/hosts.yml4
1 files changed, 4 insertions, 0 deletions
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: