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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
4 changed files with 100 additions and 53 deletions
proxmox_template_vm_debian_ciuser:"{{ ciuser }}"# From Ansible vault
proxmox_template_vm_debian_cipassword:"{{ cipassword }}"# From Ansible vault
proxmox_template_vm_debian_sshkeys:"{{ ssh_public_keys | join('\n') }}"# gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
proxmox_template_vm_ubuntu_ciuser:"{{ ciuser }}"# From Ansible vault
proxmox_template_vm_ubuntu_cipassword:"{{ cipassword }}"# From Ansible vault
# proxmox_template_vm_ubuntu_sshkeys: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/id_rsa.pub') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
proxmox_template_vm_ubuntu_sshkeys:"{{ ssh_public_keys | join('\n') }}"# gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
# proxmox_template_vm_ubuntu_vlan: 50
# Set to true if you have slow storage to avoid file locks
proxmox_template_vm_slow_storage:true
@@ -115,38 +89,36 @@
# VMs to be created
create_proxmox_vms_list:
- name:vm-01
- name:dc1
template:9412
vmid:1000
memory:8192
memory:2048
cores:2
node:node0# The hostname of the node that the VM will be created on
msg:"The value of the secret is {{ test_password }}"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.