fix: homelab hosts

This commit is contained in:
Alexander Navarro 2025-07-14 09:10:34 -04:00
parent 5ca07cf48d
commit 82f614eb47
5 changed files with 22 additions and 5 deletions

View file

@ -22,6 +22,7 @@ keyed_groups:
prefix: distro_
compose:
ansible_host: proxmox_lxc_interfaces | selectattr('name','equalto','eth0') | map(attribute='inet') | first | ansible.utils.ipaddr('address')
# ansible_host: proxmox_ipconfig0.ip | default(proxmox_net0.ip) | ansible.utils.ipaddr('address')
ansible_host: proxmox_hostname + ".lan"
# ansible_host: proxmox_hostname + ".internal"
ansible_become_method: proxmox_ostyle == "alpine" | ternary("doas", "sudo")