Refactored the setupacdc.yml file to improve formatting, consistency, and readability. This includes standardizing indentation, spacing, and variable naming conventions.
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.
Updated the `container_password` field to use a more secure and consistent format, following the latest best practices for password storage. This change ensures that passwords are properly hashed and stored securely in the container configuration.
Changed the `no_log` option from true to false in the setupacdc.yml file, allowing for log output during container creation. This change enables more detailed debugging and monitoring capabilities.
Changed the 'no_log' option from false to true in the setupacdc.yml file, enabling logging for containers. This change ensures that logs are generated and stored as expected.
Updated the password variable in the setupacdc.yml file to use an environment variable instead of a hardcoded value, making it easier to manage and secure sensitive information.
Removed two unused debug tasks from the setupacdc.yml file, as they were not being used in the current workflow. This cleanup will improve the overall efficiency of the Ansible playbook.
Removed the `addc_admin_password` variable from the setupacdc.yml file, as it was not being used. This change simplifies the configuration and reduces unnecessary complexity.
Updated the debug message to use the correct variable for the admin password, ensuring consistency in the output. This change improves readability and maintainability of the setup process.
A new Ansible debug task has been added to the setupacdc.yml file, which prints a greeting message with the admin password. This change enhances the automation process by providing additional feedback during execution.
Added new variables to the setupacdc.yml file to store Samba domain admin password, allowing for easier configuration and management of the domain. This change enables more flexibility in the setup process.
Updated the setupacdc.yml file to include the deployment of the Samba AD DC role, ensuring consistency with the latest Ansible roles. This change simplifies the setup process and reduces potential configuration errors.
Updated the `container_password` variable to use a more secure method of storing sensitive information, and removed the hardcoded admin password from the configuration.
Updated the container_password variable from a string interpolation to a raw string literal, and removed the commented out line for deploying the Samba AD DC role. This change simplifies the playbook and reduces potential issues with variable expansion.
Changed the way passwords are encrypted in the setupacdc.yml file, now using a hardcoded value instead of environment variable. This change simplifies the configuration process but may impact security if not handled properly.
Removed the no_log flag from the setupacdc task, as it was not being used. This change simplifies the configuration and makes it easier to manage. The updated flag will be set to true by default in future changes.
Updated the `container_password` variable to use a more secure and configurable approach, utilizing the `addc_admin_password` variable. This change allows for easier management of container passwords in the future.
Added a new task to deploy the Samba AD DC role using Ansible, allowing for more flexible and secure Active Directory deployments. This change enhances the overall setup process and improves its reliability.
Updated the setupacdc.yml configuration to include additional checks for container IP address availability, improved package management, and enhanced timezone handling. These changes aim to streamline the provisioning process while maintaining a clean and efficient environment.
Updated the Ansible playbook to check if a LXC container is running before starting it, and added a conditional statement to start the container only when it's stopped. This change improves the reliability of the setup process.
Added a new parameter to the setupacdc.yml file to specify the root filesystem for containers, allowing for more flexible and efficient container setup. This change enables the use of local LVM as the root filesystem for containers, improving overall system performance and security.
Updated the package manager to use apt, added commands to update all packages to their latest version, remove useless packages from the cache, and remove dependencies that are no longer required. This should improve the overall efficiency of the setup process.
Added checks to ensure container has an IP address and SSH is available before proceeding with the setup. This improves the reliability of the setup process.
Updated the timezone variable in setupacdc.yml from `{{ localization_timezone }}` to `{{ localization_timezone }}`, ensuring consistent formatting and readability.
Updated the setupacdc.yml file to include a new provision for dc1 LXC, added a task to set the timezone using community.general.timezone, and updated package installation. This change enables more flexible container configurations and timezone management.
Updated the timezone parameter in the setupacdc.yml file to include localization_timezone, allowing for more flexible container configuration. This change enables the use of a custom timezone for containers, improving overall flexibility and customization options.
Removed the 'openssh-server' package from the setup script as it's no longer required. This change simplifies the setup process and reduces unnecessary dependencies.
Updated the setupacdc.yml configuration to combine SSH public keys into a single file, improving security and organization. This change simplifies the process of managing SSH keys for LXC containers.
Fixed formatting issue in setupacdc.yml file by updating the ssh-public-keys parameter to use double quotes instead of single quotes. This change ensures consistent and correct parsing of the configuration file.
Changed the way the container public key is set in setupacdc.yml, now it uses the first key from the ssh_public_keys list instead of all keys. This change improves consistency and reduces potential security risks.
Updated the `container_pubkey` setting in `tasks/setupacdc.yml` to utilize the default public key provided by Ansible, eliminating the need for manual configuration of the SSH public key.
Updated the setupacdc.yml file to include the container's SSH public key for authorized key management, ensuring secure access to the container. This change improves security and reduces manual configuration steps.
Updated the LXC provision task to include SSH authorized keys and updated package management to install useful packages like nano, tzdata, and openssh-server. This change improves the overall setup process for the DC1 LXC.