refactor(proxmox_lxc_provision): rename password vars and parameterize user name

Rename lxc_password to lxc_root_password for consistency with the new
lxc_user_password (replaces the previously bare 'password' variable in
post-clone.yml, which silently collided with any same-named caller var).
Add lxc_user_name (default: admin) so the non-root account managed in
post-clone.yml is no longer hardcoded. Apply default(omit) to the root
password in create.yml so it is genuinely optional as documented.

BREAKING CHANGE: callers passing lxc_password or a bare 'password' var
must rename to lxc_root_password and lxc_user_password respectively.
This commit is contained in:
2026-06-27 21:11:13 -04:00
parent 27924cf55c
commit 51c1c5b611
5 changed files with 12 additions and 9 deletions
@@ -25,3 +25,4 @@ lxc_nvidia_gpu_mount: false
lxc_tags: ["ansible-managed"]
lxc_clone_type: full
lxc_start: true
lxc_user_name: admin