Commit Graph

39 Commits

Author SHA1 Message Date
8e4f0b676b Fix last modified image info display in download-image.yml 2025-12-03 17:34:15 +01:00
1dcb59c6d5 modified: tasks/download-image.yml 2025-12-03 17:31:26 +01:00
8444ab8cd9 Fix datetime formatting for last modified image info in download-image.yml 2025-12-03 17:29:05 +01:00
37fa642dca Fix datetime formatting for last modified image info in download-image.yml 2025-12-03 17:24:37 +01:00
62e504359a Fix datetime formatting for last modified image info in download-image.yml 2025-12-02 21:33:22 +01:00
a9d2847560 Fix datetime formatting for last modified image info in download-image.yml 2025-12-02 21:29:47 +01:00
211eb8f521 Fix datetime formatting for last modified image info in download-image.yml 2025-12-02 21:27:05 +01:00
4653876c12 Fix datetime formatting for last modified image info in download-image.yml 2025-12-02 21:25:02 +01:00
8ec7c2dbfb Fix datetime formatting for last modified image info in download-image.yml 2025-12-02 21:20:33 +01:00
12fdeae514 Add task to ensure snippets storage directory exists 2025-12-02 20:56:42 +01:00
2065aa314a Refactor preflight task names for clarity and consistency 2025-12-02 19:51:57 +01:00
e3c660d9e4 Set become to false for pip installation task in preflight checks 2025-12-02 19:49:53 +01:00
42f63faf52 Add tasks to set Python interpreter and install netaddr in controller environment 2025-12-02 19:47:00 +01:00
b30159295a modified: tasks/preflight-checks.yml 2025-12-02 19:42:35 +01:00
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
d98166db2d new file: meta/main.yml 2025-12-01 19:32:54 +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
cb6a06d54f style 💎: Update Debian image URLs and paths
Updated the Debian image URL and path in the defaults/main.yml file to reflect the latest available images. This change ensures that the correct images are used for testing and deployment.
2025-11-16 08:35:27 +01:00
d106048083 docs 📝: Update Debian image URL and path
Updated the Debian image URL to point to a newer version (trixie) and updated the local cache path accordingly. This change reflects the latest available image for testing purposes.
2025-11-16 08:11:25 +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
c204a0a3b7 style 💎: Update default VM settings
Reduced memory and CPU resources in the default template to improve performance.
2025-11-15 18:46:21 +01:00
53ee97bc59 deleted: 00_README_FIRST.md
deleted:    ARCHITECTURE.md
	deleted:    CHANGELOG.md
	deleted:    GET_STARTED.md
	deleted:    IMPLEMENTATION_SUMMARY.md
	deleted:    IMPROVEMENTS.md
	deleted:    QUICK_REFERENCE.md
	modified:   README.md
	deleted:    README_NEW.md
	deleted:    VERIFICATION_CHECKLIST.md
	deleted:    _FINAL_SUMMARY.txt
2025-11-15 17:39:23 +01:00
0a8f5c6124 modified: README.md
new file:   README_NEW.md
2025-11-15 17:37:15 +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
f76fb397ab feat : Update README.md with improved formatting and added notes & best practices
Updated the README.md file to improve readability and added notes on future improvements, such as API-based module support and automated post-deployment provisioning.
2025-11-15 14:34:58 +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
e4dc0f3265 style 💎: Update user group settings
Updated the user group settings to only include 'sudo' group, removing unnecessary groups. This change improves code readability and maintainability.
2025-11-15 12:59:08 +01:00
132409da05 docs 📝: Update Proxmox VM Role documentation
Updated the README.md with new features, requirements and usage instructions for the Ansible Proxmox VM role. Added detailed information on cloud-init templates, clone creation flow and notes & best practices.
2025-11-15 12:58:55 +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
814653b0d7 chore 📦: Update .gitignore with new ignore patterns for Ansible, VSCode and Windows system files
Added new patterns to the .gitignore file to ignore temporary output, secrets, and other unwanted files. This will help keep the repository clean and prevent accidental commits of sensitive data.
2025-11-15 09:52:00 +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
91a2819d82 Add README.md 2025-11-15 09:38:32 +01:00