Commit Graph

166 Commits

Author SHA1 Message Date
a0dc69e934 feat : Add new setup for Proxmox LXC container
Added a new setup for creating a Proxmox LXC container using pct command, including hostname, MAC address, IP address and network settings. This setup is designed to work with the existing Ansible playbook.
2025-11-01 18:47:03 +01:00
784be370be style 💎: Update api_host to use node_ip variable
Updated API host configuration to use the node IP variable, ensuring consistency across environments.
2025-11-01 18:24:26 +01:00
7dd1797dc0 chore 📦: Update API host in setupacdc.yml to use node IP
Updated the `api_host` variable to use the `node_ip` value, ensuring consistency with other configuration settings. This change simplifies the setup process and reduces potential errors.
2025-11-01 18:22:19 +01:00
c8ed5f50da style 💎: Update node IP in setupacdc.yml
Updated the `node` variable to use a templated value for consistency and reusability.
2025-11-01 18:20:15 +01:00
c7477d66b4 style 💎: Update api_host to use environment variable
Updated the `api_host` value in the setupacdc.yml file to use an environment variable instead of a hardcoded IP address, making it easier to manage node configurations.
2025-11-01 18:19:03 +01:00
7b705d21de chore 📦: Update Proxmox API host to use IP address instead of node name
Changed the `node` parameter in the Proxmox API setup to use the IP address directly, replacing the previously hardcoded node name. This change improves consistency and reduces potential issues with node name changes.
2025-11-01 18:18:11 +01:00
07d18e1984 chore 📦: Update setupacdc.yml to use HTTPS for Proxmox API host
Updated the api_host parameter in the setupacdc.yml file to use a secure HTTPS connection, ensuring data encryption when interacting with the Proxmox API.
2025-11-01 18:16:43 +01:00
a920a3be7d refactor ♻️: Improve setupacdc.yml to simplify certificate handling and reduce redundancy
Refactored the setupacdc.yml file to use a more efficient method of retrieving Proxmox's SSL certificate, reducing code duplication and improving maintainability. Additionally, simplified the process of adding certificates to the system's trusted CA store.
2025-11-01 18:13:34 +01:00
28e2c8492a chore 📦: Update setupacdc.yml to retrieve certificate chain via openssl s_client
Updated the setupacdc.yml file to include a new command that retrieves the certificate chain for each node using openssl s_client. This change allows for more accurate certificate verification and handling in the setup process.
2025-11-01 18:05:41 +01:00
d93b989647 chore 📦: Update setupacdc.yml to disable SSL verification for connection
Updated the setupacdc.yml file to disable SSL verification, allowing for a more secure connection. This change will improve the overall security of the Proxmox cluster.
2025-11-01 17:52:07 +01:00
1159f1d606 feat : Add setup for Proxmox node to collect and print facts
Added a new task to the setup.yml file to collect and print facts from the Proxmox node, allowing for more detailed monitoring and debugging capabilities.
2025-11-01 13:33:19 +01:00
95a0fa3b87 chore 📦: Simplified and standardized system CA store detection
Refactored the setupacdc.yml to use a more consistent and efficient approach for detecting the system's CA store path, reducing redundancy and improving maintainability.
2025-11-01 12:31:07 +01:00
c4d76c5cb1 feat : Added detection of system's CA store path for various OS families
This commit introduces new tasks to detect and set the trusted CA store path based on the operating system family. The changes include adding support for Debian/Ubuntu, RedHat/CentOS/Fedora, macOS, and Windows systems. Additionally, it downloads Proxmox's SSL certificate and adds it to the system's trusted CA store.
2025-11-01 12:26:37 +01:00
19f66e4a37 style 💎: Update setupacdc.yml to remove unnecessary validation of certificates
Updated the `validate_certs` parameter in the `setupacdc.yml` file from `no` to `false`, simplifying the configuration process.
2025-11-01 12:16:05 +01:00
0af6126ef9 style 💎: Update netif configuration to remove unnecessary validate_certs option
Updated the netif configuration to simplify the setup process by removing the validate_certs option, which is not required for the current setup. This change improves readability and maintainability of the configuration file.
2025-11-01 11:39:42 +01:00
be438b2f80 revert : Revert changes to setupacdc.yml
Reverts the changes made to the setupacdc.yml file, restoring its original configuration.
2025-11-01 11:28:43 +01:00
73e15c0d44 chore 📦: Update setupacdc.yml with new pubkey
Updated the 'pubkey' field in the 'setupacdc.yml' file to use a new SSH key. This change ensures that the Ansible user can connect to the host using the latest security protocol.
2025-11-01 10:51:48 +01:00
9811752871 style 💎: Update setupacdc.yml to disable certificate validation
Disabling certificate validation for Ansible setup process. This change ensures the connection is established without any certificate-related issues.
2025-11-01 10:48:14 +01:00
0a853c09a4 style 💎: Update API host variable
Updated the `api_host` variable to use the `node_ip` instead of a hardcoded value, following the new configuration pattern.
2025-11-01 10:44:08 +01:00
5ef5cf553c chore 📦: Update setupacdc.yml to use node IP instead of host variable
Updated the `node` parameter in the Proxmox API connection to use the `node_ip` variable, which is now set to the IP address of the node. This change ensures consistency and accuracy when connecting to the Proxmox API. The update also reflects the recent changes made to the `hostvars` dictionary.
2025-11-01 10:43:06 +01:00
bbc8c672c2 chore 📦: Update setupacdc.yml with new variables and task
Updated the setupacdc.yml file to include a new variable for node IP address and added a debug task to print the node's IP address. This change is part of the build process update.
2025-11-01 10:41:26 +01:00
f3607d2e5a chore 📦: Update setupacdc.yml with new node configuration
Updated the hosts and tasks to accommodate a new Proxmox node, adding a hostname and MAC address for DC1. This change enables the creation of an LXC container on the new node.
2025-11-01 10:39:04 +01:00
b412b4e53b chore 📦: Update setupacdc.yml with new node configuration
Updated the hosts section to include a new node, and added variables for hostname and mac address. This change allows for more flexibility in the setup process.
2025-11-01 10:34:34 +01:00
c80b0c5f01 chore 📦: Update Proxmox API connection for node setup
Updated the Proxmox API connection to use the new 'node' parameter instead of 'node0'. This change allows for more flexibility in setting up nodes with different names.
2025-11-01 10:33:09 +01:00
4d21444433 chore 📦: Update setupacdc.yml to remove unnecessary node parameter
Updated the setupacdc.yml file to remove the 'node' parameter from the lxc container creation task, as it is no longer required. This change simplifies the configuration and makes it easier to manage.
2025-11-01 10:27:52 +01:00
b0b88423bf modified: tasks/setupacdc.yml 2025-10-22 18:14:18 +02:00
6d525ebf01 modified: tasks/setupacdc.yml 2025-10-22 18:11:28 +02:00
5d290a5e8b modified: tasks/setupacdc.yml 2025-10-22 18:10:12 +02:00
6d70838ac4 modified: tasks/setupacdc.yml 2025-10-22 18:07:03 +02:00
a955e4dcd3 refactor ♻️: Refactored the setup playbook to use localhost instead of node0 for the hosts list, improving readability and maintainability.
Updated the hosts list in the setup playbook from 'node0' to 'localhost'. This change simplifies the playbook by removing unnecessary host references, making it more straightforward to manage and understand.
2025-10-22 18:06:20 +02:00
d71f9c74c8 modified: tasks/setupacdc.yml 2025-10-22 18:03:08 +02:00
1fe51f7db0 feat : Add support for creating LXC containers in the setup playbook.
This commit adds a new feature to the setup playbook by adding support for creating LXC containers. The changes include updating the playbook structure and adding a new task to create LXC containers using the `community.proxmox.proxmox` module.
2025-10-22 17:59:31 +02:00
cb21bef263 refactor ♻️: Refactored the tasks/setupacdc.yml file to install 'proxmoxer' and 'requests' Python libraries for the Semaphore user, ensuring they are installed in the home directory of the user running the Ansible playbooks.
Updated the setup process to use a more specific user environment for installing Python libraries.
2025-10-22 17:56:31 +02:00
d87a47af2d modified: tasks/setupacdc.yml 2025-10-22 17:45:07 +02:00
7699e7f435 refactor ♻️: Refactored the setup process to install necessary Python packages using Ansible.
Updated the tasks in `setupacdc.yml` to include installing `python3-pip`, `proxmoxer`, and `requests` libraries on the control node. This refactoring ensures that all required dependencies are managed centrally, improving maintainability and consistency.
2025-10-22 17:33:41 +02:00
1d0ba62653 fix 🐛: Update tasks/setupacdc.yml to install both 'proxmoxer' and 'requests' Python libraries on the control node.
Fixes the installation of required Python libraries for the Proxmox container setup.
2025-10-22 17:27:51 +02:00
3fe2166f00 modified: tasks/setupacdc.yml 2025-10-21 21:31:29 +02:00
018e89ff8f refactor ♻️: Update setupacdc.yml to use localhost for hostnames and install 'proxmoxer' Python library on the control node.
Refactored the setupacdc.yml playbook to use localhost for hostnames and added a task to install the 'proxmoxer' Python library on the control node. This change ensures that the playbook is more portable and easier to manage.
2025-10-21 21:30:34 +02:00
2eed5c74c8 fix 🐛: Update setupacdc.yml to include the correct MAC address for DC1.
Fixes an issue with the MAC address in the `setupacdc.yml` file, ensuring that it matches the expected value.
2025-10-21 21:16:38 +02:00
f04ab0129c refactor ♻️: Refactored the setupacdc.yml playbook to include variables for addc_hostname and mac_address, improving maintainability and readability.
Updated the playbook to use variables for addc_hostname and mac_address, enhancing its flexibility and reusability. This change simplifies the configuration process by allowing for easy changes in these parameters without modifying the main task.
2025-10-21 21:15:08 +02:00
4da2a47a26 fix 🐛: Update Proxmox container creation task to use new hostname and MAC address variables.
This commit updates the `setupacdc.yml` file to include new variables for the container's hostname and MAC address, which are used in the Proxmox container creation task. The changes ensure that the task is more flexible and reusable.
2025-10-21 21:13:39 +02:00
d567df4365 fix 🐛: Update Proxmox container creation task to include DC1 hostname and MAC address
The commit updates the Proxmox container creation task in `tasks/setupacdc.yml` to include a new hostname (`DC1`) and MAC address for the container. This ensures that the container is correctly configured with the required settings.
2025-10-21 21:08:07 +02:00
0e55a6afe7 refactor ♻️: Refactored the Proxmox setup task to include additional configuration options for the LXC container. Added a new parameter mac_address to specify the MAC address of the container.
Updated the Proxmox setup task to include additional configuration options for the LXC container, such as setting a custom MAC address.
2025-10-21 21:01:23 +02:00
04c1f9b517 fix 🐛: Update Proxmox API credentials in setupacdc.yml
The commit updates the Proxmox API credentials for the lxc container task in setupacdc.yml. The changes ensure that the task can connect to the correct Proxmox server using the provided credentials.
2025-10-21 19:54:34 +02:00
149b99676f modified: tasks/setupacdc.yml 2025-10-21 19:42:34 +02:00
a63f3e1de9 feat : Add Proxmox Proxmox module to tasks/setupacdc.yml
This commit adds the Proxmox Proxmox module to the setupacdc playbook, enabling the creation of LXC containers.
2025-10-21 19:42:03 +02:00
c44aaa2be5 feat : Add setupacdc.yml task to configure Proxmox containers
This commit adds a new task to the `tasks` directory that configures Proxmox containers using the `community.proxmox.proxmox` module. The task is designed to be used in CI/CD pipelines to automate the setup of container environments.
2025-10-21 19:37:52 +02:00
3131b99cd4 renamed: tasks/hostname.yml -> tasks/host_info.yml 2025-10-12 08:27:47 +02:00
caa1a93f5a refactor ♻️: Update hostname task to use a variable for destination hosts
The `hostname.yml` task has been updated to use a variable `dest_hosts` instead of hardcoding the localhost. This allows for more flexibility in specifying the destination hosts, making it easier to manage and reuse configurations.
2025-10-12 08:25:07 +02:00
5127fe9f03 fix 🐛: Update hostname task to include core count information.
The `hostname` task now includes the number of cores in the system, enhancing its functionality and providing more detailed information about the machine.
2025-10-12 08:13:01 +02:00