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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The `hostname` task now includes the number of cores in the system, enhancing its functionality and providing more detailed information about the machine.