Commit Graph

230 Commits

Author SHA1 Message Date
b391cd6df9 style 💎: Update rsync mode and delegate to node0
Changed the rsync mode from push to pull, and added a delegate_to parameter to specify the target node for the rsync operation.
2025-11-08 21:18:30 +01:00
2ccfc0feb2 style 💎: Update rsync opts for correct path
Updated rsync options to use the correct rsync path. This change ensures that the rsync command is executed correctly when synchronizing files.
2025-11-08 20:26:37 +01:00
1b669f701c style 💎: Update Proxmox template path
Updated the destination path for the Proxmox template to '/var/lib/vz/template/iso/' from '/var/lib/vz/template/qcow2/'. This change ensures consistency with the expected location of the ISO file.
2025-11-08 20:14:47 +01:00
c2328a22e0 style 💎: Update rsync opts for proxmox template
Updated rsync options to use the correct path for proxmox templates, ensuring proper synchronization of files.
2025-11-08 19:58:18 +01:00
c89e916351 feat : Add Proxmox Debian template with sudo installation
Added a new task to the create_proxmox_debian_template.yml file to ensure sudo is installed during the template creation process. This change allows for more secure access to the system.
2025-11-08 19:52:35 +01:00
3b512c558b style 💎: Update synchronize command to use posix module
Updated the synchronize command in the Proxmox template task to use the ansible.posix.synchronize module, which is more compatible with Proxmox's file system. This change ensures that the template can be successfully synchronized on the target host.
2025-11-08 19:24:47 +01:00
f3a2e0ad0a style 💎: Update template sync mode to pull
Updated the Ansible synchronize task in the Proxmox Debian template to use a pull mode instead of push, which is more idiomatic for synchronizing files from the host to the container.
2025-11-08 18:52:34 +01:00
3c4b4a749d style 💎: Update rsync opts for sudo rsync path
Updated rsync options to include the sudo rsync path, ensuring secure file transfer. This change aligns with best practices for secure file management in Proxmox environments.
2025-11-08 18:01:42 +01:00
9fea674cae style 💎: Update shell commands to use template variables
Updated shell commands in the create_proxmox_debian_template.yml file to use template variables for consistency and reusability. This change allows for easier management of different templates without modifying the underlying command structure.
2025-11-08 17:47:44 +01:00
01331e6c80 style 💎: Update rsync options for proxmox template sync
Updated the rsync options to use 'push' instead of 'pull', ensuring proper synchronization of the template with Proxmox. This change improves the consistency and reliability of the template deployment process.
2025-11-08 17:39:40 +01:00
a69fdb50b0 style 💎: Simplify compressed image replacement
Updated the compressed image replacement step to remove unnecessary comments and shell commands. This change improves code readability and maintainability.
2025-11-08 17:36:49 +01:00
710c76d72b style 💎: Improve template creation process by adding QCOW2 image info and details
Added shell commands to display QCOW2 image information and details, making the template creation process more informative and user-friendly. This change improves the overall experience for users creating Proxmox Debian templates.
2025-11-08 17:34:23 +01:00
b87dca99bd style 💎: Improve template formatting and remove unused parameter
Updated the create_proxmox_debian_template.yml file to improve its readability by removing an unused parameter and adjusting indentation. This change enhances the overall code style without affecting its functionality.
2025-11-08 17:04:50 +01:00
7788d25612 style 💎: Update storage settings in proxmox template
Updated the `lxc_storage` variable from `hdd8t` to `local-lvm`, and added additional storage options (`--swap` and `--rootfs-size`) for more efficient resource allocation.
2025-11-08 16:59:29 +01:00
e42875a45d style 💎: Update image compression and shrinking steps
Updated the Ansible playbook to use virt-sparsify for compressing and shrinking images, replacing a previous qemu-img command. This change improves efficiency and reduces storage requirements.
2025-11-08 09:38:28 +01:00
06a73174e0 feat : Added container ID to Proxmox Debian template
Updated the create_proxmox_debian_template.yml file to include a new key for storing the container ID, which will be used in conjunction with the lxc_id variable.
2025-11-08 09:18:24 +01:00
1c6e71ccc3 feat : Add proxmox Debian template to create a new LXC build container
Updated the tasks/create_proxmox_debian_template.yml file to include a new parameter for combining SSH public keys into one file, allowing for easier management of multiple keys. This change enables more flexibility when creating LXC containers with Proxmox and Debian.
2025-11-08 09:14:57 +01:00
93b886c634 style 💎: Update template with new password field
Added a new parameter to the create_proxmox_debian_template.yml file to allow for a custom password when creating a Proxmox LXC instance. This change improves flexibility and security when deploying Debian-based images.
2025-11-08 09:10:28 +01:00
b0318b073a refactor ♻️: Improve wait for LXC container boot and IP assignment
Enhanced the wait logic for LXC container boot and IP assignment by adding a check for container status and handling different scenarios. This change improves the reliability of the script.
2025-11-08 09:05:36 +01:00
d855be2c80 feat : Add Proxmox LXC IP parsing with Ansible utils
Updated the 'wait for LXC to boot and get IP' task to use Ansible's ipaddr module for more accurate IP parsing, ensuring consistent results across different environments.
2025-11-08 09:02:30 +01:00
4561a64edb style 💎: Improve storage configuration in proxmox template
Updated the `--rootfs` option to use only `--storage` for more flexibility and readability. This change simplifies the configuration and makes it easier to manage different storage options.
2025-11-08 08:59:41 +01:00
2941c5fc31 style 💎: Update template for creating Proxmox Debian LXC instance
Updated the create_proxmox_debian_template.yml to reflect changes in the lxc_create condition and added a new task to customize the Debian cloud image inside LXC. This change ensures consistency with the latest best practices for LXC configuration.
2025-11-08 08:56:30 +01:00
099fce9672 feat : Added new Debian Cloud Template directly from Proxmox
Created a new playbook to build and customize a Debian cloud image inside an LXC container, which is then imported as a Proxmox VM template.
2025-11-08 08:46:23 +01:00
1f9158d404 chore 📦: Update setupacdc.yml to remove deprecated lxc option
Removed the 'lxc.cap.keep=sys_time' option from the setupacdc.yml file as it is no longer supported, ensuring compatibility with newer LXC versions.
2025-11-07 18:29:12 +01:00
5ed3c8fdac chore 📦: Update setupacdc.yml to include lxc capability
Added a new LXC capability to the setupacdc.yml file, enabling sys_time keep for improved security
2025-11-07 18:06:10 +01:00
f6b28b5d0c chore 📦: Update setupacdc.yml to use pip and apk for package installation
Updated the setupacdc.yml file to utilize pip and apk for installing dependencies, ensuring consistency in package management across different environments.
2025-11-07 05:45:04 +01:00
ced7303db5 chore 📦: Update setupacdc.yml to use apk for py3-pexpect installation
Switched from pip to apk for installing py3-pexpect, as apk is the recommended package manager on the target system.
2025-11-06 21:24:57 +01:00
b6469d162f chore 📦: Update setupacdc.yml to install pexpect via pip instead of apk
Switched from using apk to pip for installing pexpect, simplifying the dependency management process.
2025-11-06 21:22:13 +01:00
31a1d1ce46 chore 📦: Update setupacdc.yml to include pexpect installation for Ansible controller
Added a new task to install pexpect on the Ansible controller, ensuring it's installed via apk. This change is part of the setup process and will enable the use of pexpect in future tasks.
2025-11-06 21:19:31 +01:00
1d779c29f9 chore 📦: Update dependencies in requirements.yml
Added a new dependency to the project, specifically the Proxmox collection. This change will enable the use of Proxmox as a collection in our project.
2025-11-06 20:43:10 +01:00
992df9b010 chore 📦: Update dependencies in requirements.yml
Added new dependency to the project, updating the requirements.yml file with the latest version.
2025-11-06 20:41:39 +01:00
a95251745e style 💎: Update collection names and remove unnecessary newline characters
Updated the requirements.yml files to reflect the correct collection naming convention, removing unnecessary newlines and updating the src attribute for one of the collections.
2025-11-06 20:40:19 +01:00
11def78ede chore 📦: Update timezone setup in setupacdc.yml
Updated the timezone setup to use a named timezone instead of a community.general.timezone, which is no longer available. This change simplifies the configuration and makes it easier to manage different timezones.
2025-11-06 20:36:37 +01:00
04adf0dcde style 💎: Update requirements.yml with new collection
Updated the list of required collections in the project's configuration file to include the latest version of Proxmox. This change ensures that the project can be properly installed and configured on a Proxmox server.
2025-11-06 20:31:12 +01:00
b959a7beb1 chore 📦: Update requirements.yml
Updated the list of dependencies in requirements.yml to ensure compatibility with the latest version of the Proxmox community collection.
2025-11-06 20:27:07 +01:00
1384be1251 style 💎: Update requirements.yml
Updated the list of required dependencies for the project, removing the community.proxmox collection and adding community.general.
2025-11-06 19:42:02 +01:00
7969b5fe7f chore 📦: Add new dependency to requirements.yml
Updated the list of dependencies in requirements.yml to include the new 'community.general' collection, allowing for easier management of project dependencies.
2025-11-06 19:03:58 +01:00
71c899b233 style 💎: Update container template and ostype in setupacdc.yml
Updated the container template to use Debian 13 standard and updated the container ostype from Ubuntu to Debian. This change reflects a shift in the distribution used for the container, allowing for more flexibility in the build process.
2025-11-05 20:37:01 +01:00
d3759dc082 chore 📦: Update setupacdc.yml to enable privileged containers by default
Changed the `container_unprivileged` setting from `1` to `0`, allowing for more flexibility in container configuration. This change will impact how containers are set up and managed in the project.
2025-11-05 20:33:21 +01:00
32a0f30520 chore 📦: Refactored package installation and update logic for consistency
Simplified the setupacdc.yml file by removing redundant tasks and improving readability. This change ensures that all necessary packages are installed and updated correctly, making it easier to maintain the configuration.
2025-11-05 19:22:41 +01:00
495cf1c384 refactor ♻️: Simplify setupacdc.yml by removing unnecessary tasks
Refactored the setupacdc.yml to remove redundant tasks and improve readability. This change simplifies the deployment process for Samba AD DC role.
2025-11-05 19:19:15 +01:00
a50362b9cf chore 📦: Update apt cache and install all available updates for setupacdc.yml
Updated the setupacdc.yml task to include installing an updated apt cache, upgrading packages, and performing a non-interactive Ubuntu release upgrade. This change enhances the overall reliability of the setup process.
2025-11-05 19:16:01 +01:00
c4d9e80c93 chore 📦: Update setupacdc.yml to include Ubuntu release upgrade and kernel reboot steps
Added new steps to the setupacdc.yml file to ensure a more robust Ubuntu installation process, including running the `do-release-upgrade` command and rebooting if a kernel update occurs. This change aims to improve the overall stability of the Samba AD DC role deployment.
2025-11-05 19:11:44 +01:00
b868f7715c chore 📦: Update container template and ostype in setupacdc.yml
Updated the container template and ostype from Debian to Ubuntu, reflecting a change in the underlying OS. This update ensures consistency with the new environment configuration.
2025-11-05 18:39:13 +01:00
4f58b7c299 style 💎: Update container template version
Updated the container template version in setupacdc.yml to match the latest Debian standard, removing unnecessary comments and formatting.
2025-11-04 21:11:31 +01:00
3ad717091b chore 📦: Update Debian template for setupacdc
Updated the Debian template in setupacdc.yml to use a newer version, ensuring compatibility with the latest dependencies.
2025-11-04 20:54:38 +01:00
8367c9c1bf chore 📦: Update setupacdc.yml to enable facts gathering for dc1 LXC
Enabled facts gathering for the dc1 LXC provision task, ensuring accurate inventory data collection. This change improves the overall reliability of the setup process.
2025-11-04 20:41:13 +01:00
e327754260 refactor ♻️: Improve formatting and consistency in setupacdc.yml
Refactored the setupacdc.yml file to improve formatting, consistency, and readability. This includes standardizing indentation, spacing, and variable naming conventions.
2025-11-04 19:18:58 +01:00
bb83d9368b style 💎: Update LXC container setup command
Updated the pct create command to include ssh-public-keys and features, ensuring consistency with other setup commands.
2025-11-04 19:12:16 +01:00
08c9123c76 chore 📦: Update setupacdc.yml to include debug logging
Added a new debug log statement to the setupacdc.yml file, allowing for more detailed output during container creation. This change enables users to see the value of the container_password variable in the logs. The update also includes minor formatting adjustments to improve readability.
2025-11-04 19:06:26 +01:00