role.prepare_lxc_host/defaults/main.yml
2025-04-12 14:45:32 +02:00

16 lines
460 B
YAML

---
lxc_host_ipv4_addr: 192.168.0.1/24
lxc_host_ipv4_dhcp_start: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr(100)|ansible.utils.ipaddr('address') }}"
lxc_host_ipv4_dhcp_end: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr('last_usable')|ansible.utils.ipaddr('address') }}"
lxc_host_ipv6_addr: fd00::1/64
# FIXME: lxc_host_bridge: lxcbr0 // br-lxc
lxc_host_bridge: lxcbr0
lxc_host_domain: "{{ lxc_host_bridge }}.invalid"
lxc_mac_template: "fe:fe:fe:xx:xx:xx"