Commit Graph

4 Commits

Author SHA1 Message Date
833ceb93d4 refactor ♻️: Integrate centralized helper functions for improved code consistency and idempotency across VM management tasks 2025-11-16 08:42:26 +01:00
6361b3fc41 refactor ♻️: Improve retry logic consistency across tasks
Standardized the use of `retries` and `delay` variables in tasks to ensure consistent behavior, making it easier to manage and maintain the workflow. This change also enables better error handling and reduces potential issues with task execution.
2025-11-16 08:02:18 +01:00
ff691bae3d Use fqdn for ansible.builtin modules 2025-11-15 21:49:12 +01:00
f62750fe2f feat: Implement Debian VM template creation and cloning on Proxmox
- Added default configuration for VM creation in defaults/main.yml.
- Created tasks for configuring the VM with UEFI, TPM, disks, GPU, and Cloud-Init in tasks/configure-vm.yml.
- Implemented clone creation and configuration logic in tasks/create-clones.yml.
- Added template conversion functionality in tasks/create-template.yml.
- Developed base VM creation logic in tasks/create-vm.yml.
- Included image download and caching tasks in tasks/download-image.yml.
- Introduced utility tasks for common operations in tasks/helpers.yml.
- Organized main orchestration logic in tasks/main.yml, with clear stages for each operation.
- Added pre-flight checks to validate the environment before execution in tasks/preflight-checks.yml.
2025-11-15 17:22:21 +01:00