diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-07-10 19:29:13 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-07-12 22:05:12 +0200 |
| commit | 6ba72c3ad9304bb257c58c0183261639e48dc1ef (patch) | |
| tree | fdb5d517d48ada7c4e2c08418a40fd404d410f3f /inventory/hosts.yml | |
| parent | 93669cd40df4fa0c17e67140abe5d75c7049ca1c (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.yml | 4 |
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: |
