Commit Graph

299 Commits

Author SHA1 Message Date
Jose 1b2122392a chore 📦: Update setupacdc.yml to use new location gateway
Updated the network configuration in setupacdc.yml to use the new location gateway, ensuring consistency with recent changes. This change allows for more accurate IP address assignment and reduces potential issues with container networking.
2025-11-01 18:48:09 +01:00
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose b0b88423bf modified: tasks/setupacdc.yml 2025-10-22 18:14:18 +02:00
Jose 6d525ebf01 modified: tasks/setupacdc.yml 2025-10-22 18:11:28 +02:00
Jose 5d290a5e8b modified: tasks/setupacdc.yml 2025-10-22 18:10:12 +02:00
Jose 6d70838ac4 modified: tasks/setupacdc.yml 2025-10-22 18:07:03 +02:00
Jose 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
Jose d71f9c74c8 modified: tasks/setupacdc.yml 2025-10-22 18:03:08 +02:00
Jose 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
Jose 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
Jose d87a47af2d modified: tasks/setupacdc.yml 2025-10-22 17:45:07 +02:00
Jose 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
Jose 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
Jose 3fe2166f00 modified: tasks/setupacdc.yml 2025-10-21 21:31:29 +02:00
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose 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
Jose a7d9d5b2d3 feat : Add Proxmox collection to requirements.yml
Added the Proxmox collection to the requirements.yml file, allowing users to install it using Ansible.
2025-10-21 19:49:45 +02:00
Jose ae070609e1 feat : Add new requirements files for Proxmox and Samba AD DC roles
This commit adds two new requirements files: `requirements.yml` in the collections directory and `requirements.yml` in the roles directory. The first file contains dependencies for Proxmox, while the second one specifies additional dependencies for the Samba AD DC role hosted in a private Gitea instance.
2025-10-21 19:48:02 +02:00
Jose 953ab7d919 feat : Add community.proxmox as a new requirement in requirements.yml
Added the community.proxmox role to the requirements.yml file, which is hosted in your private Gitea instance.
2025-10-21 19:45:20 +02:00
Jose 149b99676f modified: tasks/setupacdc.yml 2025-10-21 19:42:34 +02:00
Jose 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