Commit Graph

14 Commits

Author SHA1 Message Date
c0ee2e5358 modified: tasks/preflight-checks.yml 2025-12-01 21:13:23 +01:00
63e29b4290 modified: tasks/preflight-checks.yml 2025-12-01 21:06:02 +01:00
1f49015162 modified: tasks/preflight-checks.yml 2025-12-01 20:54:14 +01:00
fd82dad2ba modified: tasks/preflight-checks.yml 2025-12-01 20:44:11 +01:00
f68da2cb98 modified: tasks/preflight-checks.yml 2025-12-01 19:44:03 +01:00
d171a4a7b9 refactor ♻️: Refactored all task files to use centralized helper functions from tasks/helpers.yml, improving code consistency, maintainability, and idempotency.
All task files now use centralized helper functions, ensuring idempotency across all stages. Code is cleaner, more maintainable, and no breaking changes were introduced.
2025-11-18 20:24:43 +01:00
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
ec2b3b7edc refactor ♻️: Refactored playbook to improve readability and maintainability
Simplified the playbook structure by removing unnecessary tasks and adding comments for clarity. Also, added a rescue block to handle potential errors during execution.
2025-11-15 19:18:45 +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
0a1981194b refactor ♻️: Refactored the Debian VM template and cloning tasks for improved readability and maintainability.
Improved the structure and organization of the tasks to make it easier to understand and modify. Added comments and whitespace to enhance readability.
2025-11-15 12:59:20 +01:00
f06b172864 refactor ♻️: Refactored the main.yml and tasks/main.yml to improve organization and readability.
Improved the structure of the templates by adding comments, whitespace, and consistent indentation. Also added a new variable for the vm_id to make it easier to use throughout the template.
2025-11-15 12:58:33 +01:00
7aa5c9dc1b feat : Added new feature to generate Debian VM templates and deploy clones
This commit introduces a new feature that allows users to create Debian VM templates and deploy clones. The feature includes options for customizing the template, such as making it a template or creating clones from it.
2025-11-15 09:51:38 +01:00