feat(pve_lxc): add the pve_lxc role #389
Open
Claude
wants to merge 1 commits from
feat/386-pve-lxc-role into main
pull from: feat/386-pve-lxc-role
merge into: Mortis:main
Mortis:main
Mortis:renovate/git.rkdr.net-mortis-ci-0.x
Mortis:test/133-ubuntu-2404-2604
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Needs Triage
Maintainer needs to evaluate this issue
Status
Ready for Agent
Fully specified, ready for an AFK agent
Status
Ready for Human
Requires human implementation
Wayfinder
Grilling
Decision ticket resolved in conversation with the maintainer
Wayfinder
Map
Wayfinder map: index of a planning effort and its decision tickets
Wayfinder
Prototype
Decision ticket resolved by reacting to a rough concrete artifact
Wayfinder
Research
Decision ticket resolved by reading outside sources
Wayfinder
Task
Manual work that must happen before a decision can be made
No labels
Kind/Feature
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Kamino#389
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
Closes #386
Adds
pve_lxc: Proxmox VE LXC lifecycle through the API (community.proxmox), reconcile of rawlxc.*config, and an opt-in guest firewall file on the node. Keeps thepve_lxc_*interface. Declares Debian trixie as untested (until #226). The README Roadmap and the galaxy.yml description are updated.Depends on #388 (community.proxmox/proxmoxer) and the ci image pin move that follows it. Lint and Molecule on this PR fail until both land; I'll rebase this PR then.
Decisions from #386, as applied:
No legacy-name guard. Internal facts carry a
__prefix.Input checks in
tasks/validate.yml, imported withtags: alwaysand with their original conditions.pve_lxc_api_token_secrethas no default: it must be defined and non-empty whenever the lifecycle is managed.The Molecule scenario covers only the parts that need no API:
The API lifecycle is not exercised; the README says so.
For the maintainer:
pve_lxc_cores,pve_lxc_swapandpve_lxc_nameserverare optional with no default; the role usesdefault(omit), as before. roles/AGENTS.md asks for a default value, so is this acceptable?Verified
--syntax-checkon prepare/converge/verify;ansible-doc -t role mortis.kamino.pve_lxc.Not verified
NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code:claude-opus-5-5
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.