271 Commits

Author SHA1 Message Date
0a18c43555 fix 🐛: Update Debian image URLs
This commit updates the URLs for Debian images used as Proxmox templates. The URLs have been corrected to reflect the latest available Debian 13 images, ensuring proper template downloads and configurations within the Proxmox environment.
2025-12-10 21:03:36 +01:00
88290aaad9 docs 📝: Update documentation for VM configuration
This commit updates the documentation to reflect the changes in VM configuration, specifically regarding the `vlan` setting.  It clarifies the intended usage and potential values for this parameter. This ensures consistency and reduces potential confusion for users.
2025-12-10 19:05:48 +01:00
1472f0a2b9 fix 🐛: Update Debian OS type
Corrected the OS type for the proxmox_template_vm_debian_ostype to 'l26' to align with the latest configuration. This ensures consistency and accuracy in the template definitions. The change resolves a potential mismatch between the template and the actual operating system.
2025-12-10 18:58:20 +01:00
06ee6875e8 docs 📝: Update documentation for Debian template configurations.
This commit updates the documentation to reflect the new configurations for Debian templates, including supported distros, image URLs, and associated settings like storage, memory, cores, and SSH keys. This ensures clarity for users setting up Debian-based templates within Proxmox.
2025-12-10 18:53:55 +01:00
35424875c1 fix 🐛: Update DNS nameservers
This commit updates the DNS nameservers for two virtual machine templates (vm-01 and vm-02) to 8.8.8.8, resolving potential DNS resolution issues. This change improves network connectivity for the VMs.
2025-12-10 17:45:32 +01:00
c095c92eeb fix 🐛: Update ubuntu storage to local-lvm
This commit changes the default storage type for Ubuntu templates from 'local' to 'local-lvm'. This adjustment aligns with best practices for Ubuntu template deployments, providing a more robust and isolated storage environment for the virtual machine images.
2025-12-10 17:35:00 +01:00
d1c6c2bc99 fix 🐛: Update Ubuntu storage template
The Ubuntu template's default storage has been changed from 'hdd8t' to 'local' to align with current best practices and simplify deployment. This change ensures the template utilizes local storage, reducing potential configuration complexities. This update improves the overall usability and consistency of the template.
2025-12-10 17:33:01 +01:00
14057130e6 fix 🐛: Update VM templates
This commit updates the VM templates used during the creation process. Specifically, the 'vm-01' template is changed from 5000 to 9412, and 'vm-02' from 5500 to 9413. These changes likely reflect updated base images or configurations for the virtual machines.
2025-12-09 20:51:26 +01:00
e3414af675 style 💎: Remove commented-out sshkeys config
This commit removes a commented-out configuration section for `sshkeys` within the testing task definition. This was likely a temporary setting and is now permanently removed, simplifying the configuration and preventing potential issues.
2025-12-09 20:50:23 +01:00
5936ff6ff4 chore 📦: Update snippets storage config
This commit updates the configuration for the snippets storage, setting it to 'local'. This change ensures that snippets are stored locally, simplifying the deployment process and improving performance. The configuration update is part of a broader effort to streamline the preflight process.
2025-12-09 20:46:23 +01:00
6ef534f8d8 refactor ♻️: Preflight: Snippets configuration check
This commit refactors the preflight task to intelligently check if the 'snippets' configuration is already present in the `/etc/pve/storage.cfg` file.  It avoids redundant replacement operations and improves the preflight process by determining if the configuration is already set, preventing unnecessary modifications.
2025-12-09 20:41:44 +01:00
5faba468f7 fix 🐛: Enable snippets storage
This commit updates the PVE storage configuration to ensure the 'snippets' storage is properly enabled. It modifies the `/etc/pve/storage.cfg` file to include the 'snippets' option, resolving potential issues with snippet functionality. The IP address of the network interface has also been updated.
2025-12-09 19:33:22 +01:00
ccb9fc760c fix 🐛: Ensure snippets storage is enabled
This commit updates the `tasks/testing.yml` file to correctly enable the 'snippets' storage for Proxmox. The change ensures that the snippets storage directory is properly configured, resolving an issue where snippets were not being utilized. This update improves the Proxmox setup process and ensures snippets functionality.
2025-12-09 19:28:06 +01:00
fdc28ae4a6 fix 🐛: Ensure snippets storage is enabled
This commit updates the preflight task to correctly enable the 'snippets' storage in /etc/pve/storage.cfg. The change uses a more robust regular expression to handle potential variations in the storage configuration, ensuring the snippets feature is properly activated.
2025-12-09 19:26:38 +01:00
8b6e0a5f59 chore 📦: Update VM deployment configuration
This commit updates the Ansible role for deploying VMs, defining two new VMs with specific configurations including IP addresses, VLAN assignments, and storage options. The changes also incorporate SSH key management from a file.
2025-12-09 19:11:16 +01:00
19b568c2b8 fix 🐛: Enable snippets in storage.cfg
This commit enables the 'snippets' feature in the Proxmox storage configuration file. It achieves this by adding a snippet line to the storage.cfg, ensuring that Proxmox snippets are available.  Additionally, it creates the necessary 'snippets' directory within the specified storage path.
2025-12-08 10:43:15 +01:00
c33a1e730b fix 🐛: Update SSH key variable references to join public keys with newline in testing.yml 2025-12-08 10:16:02 +01:00
b70c32993d feat : Add task to install proxmoxer package via APT in testing.yml 2025-12-08 09:29:00 +01:00
8c8f4ff417 feat : Update SSH key variable references for Ubuntu and Fedora templates in testing.yml 2025-12-08 09:24:22 +01:00
a4597def5d fix 🐛: Correct repository URL for ansible_proxmox_vm in requirements.yml 2025-12-08 08:24:35 +01:00
cc09f270ff feat : Add deployment tasks for Proxmox VM templates with customizable options 2025-12-08 08:16:22 +01:00
8f062cca53 feat : Update requirements.yml to include additional Ansible collections 2025-12-08 07:31:11 +01:00
8527a4a4ad feat : Add additional Ansible collections to requirements.yml 2025-12-07 22:19:02 +01:00
c93f2d8ea0 feat : Add Proxmox VM role to requirements and create Debian template task 2025-12-01 19:21:00 +01:00
2928061772 refactor ♻️: Simplified container configuration and added LXC ID to template
Refactored the setupacdc.yml file to use LXC IDs instead of container IDs, simplifying the configuration process. Also updated the create_lxc_container task to use the new LXC ID format.
2025-11-09 08:35:17 +01:00
e218a1705d style 💎: Update qcow2 disk path in Proxmox template
Updated the disk path from qcow2 to qemu in the create_proxmox_debian_template.yml file. This change ensures compatibility with newer Proxmox versions.
2025-11-09 06:44:23 +01:00
d5bc7f7ea9 commit undefined: Shrink compressed qcow2 using virt-sparsify
Updated the `create_proxmox_debian_template.yml` playbook to shrink the compressed qcow2 image using virt-sparsify, replacing the original shell command. This change improves efficiency and reduces storage requirements for Proxmox VM templates.
2025-11-09 06:36:07 +01:00
adb89dc4e8 refactor ♻️: Improve file transfer from LXC container to host using pct pull
Updated the 'copy' block to use pct pull instead of pct exec and rsync, simplifying the process and reducing unnecessary commands. This change improves the efficiency and readability of the template.
2025-11-09 06:27:42 +01:00
a64aa8d848 style 💎: Update file copy commands in Proxmox Debian template
Updated the commands for copying files from the LXC container to the host, ensuring consistency and accuracy in the template. The changes also improve readability and maintainability of the template.
2025-11-08 23:23:58 +01:00
ce7291bf3c refactor ♻️: Simplify copy file from LXC container to host using pct exec
Replaced multiple commands with a single pct exec command for copying files between the LXC container and the host, improving code readability and maintainability.
2025-11-08 23:18:02 +01:00
77a5f6276a feat : Add Debian template to Proxmox VM creation task
Added a new variable to the create_proxmox_debian_template.yml file to include the Debian template, allowing for more customization in the Proxmox VM creation process.
2025-11-08 23:03:01 +01:00
cc203b3c0b style 💎: Simplify shell commands in create_proxmox_debian_template.yml
Updated shell commands to use double quotes for command arguments, improving readability and consistency.
2025-11-08 22:57:30 +01:00
4fdef98933 style 💎: Update template variables for Proxmox Debian setup
Updated the `create_proxmox_debian_template.yml` file to remove unnecessary variables and improve code readability. The changes include updating the `lxc_password` and `lxc_id` variables, making it easier to manage container IDs.
2025-11-08 22:50:56 +01:00
4cc4ad48dc refactor ♻️: Improve LXC container file management in Proxmox template
Refactored the Proxmox template to use pct commands for mounting and unmounting the LXC container filesystem, simplifying the process of copying files between containers and the host. This change improves the overall efficiency and reliability of the template.
2025-11-08 22:43:40 +01:00
aaf121cd37 style 💎: Update rsync command for LXC container to Proxmox host
Updated the rsync command to use lxc-attach -n instead of just --rsh. This change ensures that the correct SSH connection is established when copying files from the LXC container to the Proxmox host.
2025-11-08 22:27:04 +01:00
18926c0047 feat : Add new task to create Proxmox Debian template
A new task was added to the existing script to import a Debian Cloud image as a Proxmox VM template, allowing for easier deployment of Debian-based systems on Proxmox servers.
2025-11-08 22:17:59 +01:00
b4817e7706 refactor ♻️: Update LXC build container and Debian cloud image template
Refactored the tasks to improve readability, added comments for better understanding, and updated variables with new values.
2025-11-08 22:06:59 +01:00
0c60000812 refactor ♻️: Improve template copy process for better performance
Updated the Ansible task to use rsync for copying templates between LXC containers and Proxmox hosts, reducing the need for qemu-img commands. This change also includes a warning flag to prevent potential issues with lxc-attach command.
2025-11-08 21:45:54 +01:00
cb32af2ad4 style 💎: Update template synchronization mode to push
Updated the Ansible synchronize task to use a push mode instead of pull, which will ensure that the latest template is deployed on each node.
2025-11-08 21:34:16 +01:00
ffbcb2b04f style 💎: Update template to remove unnecessary delegate_to option
Updated the create_proxmox_debian_template.yml file to remove the delegate_to option, as it is no longer required. This change improves the template's simplicity and consistency.
2025-11-08 21:25:31 +01:00
c9bf893582 feat : Create Proxmox Debian template with QEMU directory
Added a new task to create the QEMU template directory on the Proxmox host, ensuring it exists and has the correct permissions. This change enables the use of the QEMU template for creating Proxmox VMs.
2025-11-08 21:20:53 +01:00
b391cd6df9 style 💎: Update rsync mode and delegate to node0
Changed the rsync mode from push to pull, and added a delegate_to parameter to specify the target node for the rsync operation.
2025-11-08 21:18:30 +01:00
2ccfc0feb2 style 💎: Update rsync opts for correct path
Updated rsync options to use the correct rsync path. This change ensures that the rsync command is executed correctly when synchronizing files.
2025-11-08 20:26:37 +01:00
1b669f701c style 💎: Update Proxmox template path
Updated the destination path for the Proxmox template to '/var/lib/vz/template/iso/' from '/var/lib/vz/template/qcow2/'. This change ensures consistency with the expected location of the ISO file.
2025-11-08 20:14:47 +01:00
c2328a22e0 style 💎: Update rsync opts for proxmox template
Updated rsync options to use the correct path for proxmox templates, ensuring proper synchronization of files.
2025-11-08 19:58:18 +01:00
c89e916351 feat : Add Proxmox Debian template with sudo installation
Added a new task to the create_proxmox_debian_template.yml file to ensure sudo is installed during the template creation process. This change allows for more secure access to the system.
2025-11-08 19:52:35 +01:00
3b512c558b style 💎: Update synchronize command to use posix module
Updated the synchronize command in the Proxmox template task to use the ansible.posix.synchronize module, which is more compatible with Proxmox's file system. This change ensures that the template can be successfully synchronized on the target host.
2025-11-08 19:24:47 +01:00
f3a2e0ad0a style 💎: Update template sync mode to pull
Updated the Ansible synchronize task in the Proxmox Debian template to use a pull mode instead of push, which is more idiomatic for synchronizing files from the host to the container.
2025-11-08 18:52:34 +01:00
3c4b4a749d style 💎: Update rsync opts for sudo rsync path
Updated rsync options to include the sudo rsync path, ensuring secure file transfer. This change aligns with best practices for secure file management in Proxmox environments.
2025-11-08 18:01:42 +01:00
9fea674cae style 💎: Update shell commands to use template variables
Updated shell commands in the create_proxmox_debian_template.yml file to use template variables for consistency and reusability. This change allows for easier management of different templates without modifying the underlying command structure.
2025-11-08 17:47:44 +01:00