Commit Graph

300 Commits

Author SHA1 Message Date
dc52a02df7 refactor ♻️: Refactor uninstall script task to use ansible.builtin.shell instead of ansible.builtin.command
Updated the uninstall script task to use `ansible.builtin.shell` for better command execution and flexibility.
2025-12-16 21:05:38 +01:00
3c4d7d73b5 refactor ♻️: Remove unnecessary conditional check and registration in Proxmox task
Refactored the Proxmox task code by removing redundant conditional checks and registration steps, simplifying the logic and improving performance.
2025-12-16 21:02:08 +01:00
651bf323df refactor ♻️: Refactor Proxmox playbook to use ansible.builtin.expect with ignore_errors
Updated the `proxmox.yml` file to include the use of `ansible.builtin.expect` module and set `ignore_errors` to handle exceptions gracefully.
2025-12-16 21:00:08 +01:00
d7726852ea refactor ♻️: Replace PVE-mods repository cloning with direct script download and execution.
Refactored the project to eliminate the need for cloning a repository by instead downloading and executing a script directly. This simplifies the setup process and reduces dependency on external repositories.
2025-12-16 20:56:19 +01:00
6370fbad21 refactor ♻️: Refactor uninstall/install scripts to use bash
Updated the uninstall and install scripts to use bash for better compatibility across different environments.
2025-12-16 20:49:28 +01:00
2c03831394 refactor ♻️: Refactor shell to command in proxmox.yml task
Updated the task in proxmox.yml to use 'command' instead of 'shell' for better clarity and consistency.
2025-12-16 20:42:03 +01:00
6d7748a127 refactor ♻️: Refactor shell task in proxmox.yml to use 'cmd' keyword
Updated the shell task in proxmox.yml to utilize the 'cmd' keyword for better readability and consistency.
2025-12-16 20:39:02 +01:00
aa640fa23f chore 📦: Add python3-pexpect to package list
Updated the package list to include python3-pexpect for enhanced automation capabilities.
2025-12-16 20:36:04 +01:00
a08dfae843 feat : Add ignore_errors, when condition, and reset fact; update script registration
This commit introduces new functionality to include error handling, conditional execution, and state reset in scripts. It also updates the script registration process to ensure compatibility with these changes.
2025-12-16 19:55:28 +01:00
8005cd5dd7 feat : Add wait-for task to ensure Proxmox Web GUI is up before running scripts.
This commit introduces a new wait-for task that waits for the Proxmox Web GUI to be fully operational before proceeding with subsequent scripts. This ensures that all dependencies are ready, preventing potential errors during script execution.
2025-12-16 19:29:37 +01:00
ae2af0ce6c refactor ♻️: Rename task to 'Run uninstall script' and update command
Refactored the task name and updated the associated command for clarity and consistency.
2025-12-16 19:25:16 +01:00
7854c4f95c feat : Add sensor monitoring task script
Introduce a new task to execute the `pve-mod-gui-sensors.sh` script with predefined answers, enhancing system monitoring capabilities.
2025-12-16 19:21:29 +01:00
d026ef8d1b refactor ♻️: Consolidate and update pkg list
Refactored package installation process by consolidating and updating the `pkg` list to improve efficiency and maintainability.
2025-12-16 18:35:57 +01:00
0b0ef1a385 fix 🐛: Fix typo in remote_src setting
Corrected a typographical error in the configuration option 'remote_src' to ensure proper functionality.
2025-12-16 18:26:33 +01:00
a58623dfcd feat : Add remote source support for copy script
This feature allows scripts to be copied from a remote source, enhancing flexibility and scalability in deployment processes.
2025-12-16 18:24:54 +01:00
89dabc0a70 chore 📦: Add pre-installation check for git
This commit adds a step to verify that git is installed on the system before proceeding with the installation of proxmoxer. This ensures compatibility and prevents potential errors during the setup process.
2025-12-16 18:18:33 +01:00
af0298410c feat : Add new feature
This is a new feature
2025-12-16 17:43:51 +01:00
f6c9c70fcd fix 🐛: Remove secrets.yml and task comment
This commit removes the inclusion of the `secrets.yml` variables file and comments out the associated task. This simplifies the project setup and addresses potential security concerns related to storing sensitive information in the codebase. The task is now commented out, effectively disabling it without removing the code.
2025-12-14 10:03:00 +01:00
066a599d9b fix 🐛: Update admin password
This commit updates the admin password within the `testvault.yml` file to improve security.  The change ensures that unauthorized access to the test vault is prevented.  This aligns with best practices for securing sensitive configuration files.
2025-12-14 09:58:37 +01:00
8f25ef2a14 fix 🐛: Update testvault.yml
This commit updates the `testvault.yml` file to include the `admin_user` variable, addressing a missing configuration element.  Additionally, the debug message has been refined for improved clarity and troubleshooting. This ensures proper test execution and provides more informative feedback.
2025-12-14 09:57:42 +01:00
a4b6ecd9f1 fix 🐛: Include and debug secrets
This commit addresses the need to incorporate secrets from the `secrets.yml` file into the application. It includes the necessary steps for debugging and resolving any potential issues related to secret management. This ensures secure access to sensitive information during development and testing.
2025-12-14 09:48:05 +01:00
c4d6dd8f4b fix 🐛: Remove commented credentials
This commit removes commented-out Proxmox credentials variables from the testing.yml file. This resolves an issue where these variables were present, potentially exposing sensitive information during testing. The removal ensures a cleaner and more secure testing environment.
2025-12-14 07:16:08 +01:00
914d6de8b6 fix 🐛: Update Proxmox credentials
This commit updates the Proxmox credentials within the testing task file.  This ensures the testing environment can successfully authenticate with Proxmox, resolving potential connection issues.  The change improves the reliability of automated testing.
2025-12-14 07:14:16 +01:00
aa8b2375db fix 🐛: Remove Proxmox credentials comments
This commit removes commented-out variable definitions related to Proxmox credentials. These were identified as unnecessary and potentially confusing, improving code readability and reducing clutter. The removal ensures a cleaner and more focused codebase.
2025-12-14 07:05:58 +01:00
5288b88fcd fix 🐛: Update VM IP address
This commit updates the virtual machine's IP address to 192.168.2.3/24, resolving an issue with network connectivity during testing.  This change ensures proper network access for the testing environment.  The change was made to align with the latest network configuration.
2025-12-14 06:56:35 +01:00
ce8d5a7811 feat : Update playbook source and add role
This commit updates the playbook's source to utilize ansible-playbook-homelab and incorporates the ansible-role-debian_common role. The changes include updating VM names and adding a new task for deploying the Debian common role, streamlining the automation process.
2025-12-14 06:54:40 +01:00
f954fd25b3 fix 🐛: Adjust VM memory for 'dc' template
This commit updates the VM memory allocation specifically for the 'dc' template, resolving an issue where memory was misconfigured. It also removes the outdated 'vm-01' entry, streamlining the configuration and ensuring optimal performance.
2025-12-12 20:15:39 +01:00
8289e73119 chore 📦: Setup PVE-mods dependencies
This commit sets up the necessary environment for PVE-mods, including installing required packages and cloning the project repository. This ensures a clean and functional setup for further development or modification of the PVE-mods project. The changes focus on the build process and dependencies.
2025-12-11 21:10:06 +01:00
fe78fd6fe7 fix 🐛: Reduce VM disk sizes
This commit updates the Debian and Ubuntu VM templates to utilize smaller disk sizes, optimizing storage space. The changes also incorporate updated configurations for improved performance and compatibility. These adjustments streamline the VM deployment process and enhance overall system efficiency.
2025-12-11 21:09:38 +01:00
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