role.prepare_lxc_host/defaults/main.yml

16 lines
449 B
YAML
Raw Normal View History

2024-03-12 20:39:29 +00:00
---
lxc_host_ipv4_addr: 192.168.1.1/24
lxc_host_ipv4_dhcp_start: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr(99)|ansible.utils.ipaddr('address') }}"
lxc_host_ipv4_dhcp_end: "{{ lxc_host_ipv4_addr|ansible.utils.ipaddr(198)|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"