Add pve_lxc, which manages the lifecycle of a Proxmox VE LXC container through the Proxmox API (community.proxmox), reconciles the raw lxc.* lines of its config on the node and, opt-in, writes its guest firewall file. It keeps the pve_lxc_* interface and carries no legacy-name guard. The input asserts run from tasks/validate.yml before any change, and the API token secret has no default. The molecule scenario runs the validation and the node-side task files against a container standing in for the node; the API lifecycle is not exercised. Debian trixie is declared, untested. Refs #386 Assisted-by: Claude Code:claude-opus-5-5
12 lines
247 B
Django/Jinja
12 lines
247 B
Django/Jinja
[OPTIONS]
|
|
enable: 1
|
|
ipfilter: 1
|
|
macfilter: 1
|
|
policy_in: {{ pve_lxc_firewall_policy_in }}
|
|
policy_out: {{ pve_lxc_firewall_policy_out }}
|
|
|
|
[RULES]
|
|
{% for __pve_lxc_firewall_rule in pve_lxc_firewall_rules %}
|
|
{{ __pve_lxc_firewall_rule }}
|
|
{% endfor %}
|