Commit Graph

20 Commits

Author SHA1 Message Date
0d6e747ba8 commit-message undefined: Improve Samba service management
Enhanced the provision.yml to properly stop and mask regular Samba services, while unmasking and enabling the Samba AD/DC service. This ensures a more robust setup for the domain controller.
2025-11-05 18:57:30 +01:00
767ebb022b refactor ♻️: Simplify Samba version verification and display logic
Renamed debug block to use Ansible debug output, removing unnecessary variables and improving readability. This change aims to make the code more maintainable and efficient.
2025-11-04 21:11:05 +01:00
6afc14a362 style 💎: Fix debug message formatting for Samba version display
Updated debug message to use the correct variable, `samba_version.stdout`, instead of `samba_new_version.stdout`.
2025-11-04 20:58:29 +01:00
e19c0f8b48 commit undefined: Fix Samba version detection and upgrade process
Updated the Ansible playbook to correctly detect the Samba version and perform an upgrade if necessary. The changes also include adding the Samba Team Debian GPG key, repository, and updating the APT cache.
2025-11-04 20:55:38 +01:00
a8a18f93df modified: tasks/install.yml 2025-11-04 20:46:05 +01:00
c76545e816 style 💎: Update Samba repository URL for Debian
Updated the Samba Team Debian repository URL to use the modern method, which includes a signed-by keyring. This change improves security and stability of the package installation process.
2025-11-04 20:38:03 +01:00
e70b483274 style 💎: Update Samba Team GPG key URL
Updated the URL for the Samba Team Debian GPG key to use a more reliable source, ensuring future installations can correctly verify the team's identity.
2025-11-04 20:32:24 +01:00
e150a3306d chore 📦: Update Samba package installation to use modern methods
Updated the Ansible playbook to use modern methods for adding the Samba Team Debian GPG key and repository, making it easier to upgrade to a newer version of Samba. This change also includes updating the APT cache when an upgrade is needed.
2025-11-04 20:27:20 +01:00
79fccba876 feat : Added provision step to stop Samba services before installation
Prevents potential conflicts during the installation process by stopping Samba services before provisioning. This ensures a smoother and more reliable setup. The new step is added at line 74 of tasks/install.yml.
2025-11-04 19:51:43 +01:00
47b0eef15d chore 📦: Update Samba package installation to handle known regression in certain builds
Added checks for Samba version 4.22.4 and updated package installation to upgrade if necessary, ensuring a stable build process.
2025-11-04 19:47:29 +01:00
a95fbd4822 Replaced " with ' 2025-11-04 19:22:07 +01:00
ba75d48ea6 feat : Stop Samba services before provisioning
Added a new task to stop relevant Samba services before provisioning, ensuring a clean environment for the AD DC setup. This change improves the overall stability and reliability of the provisioning process.
2025-11-03 19:46:40 +01:00
42da69befb style 💎: Improve service configuration for samba-ad-dc
Updated the service configuration to ensure proper stopping of samba-ad-dc before provisioning, improving overall installation stability and consistency.
2025-11-03 19:32:57 +01:00
f85c420c14 style 💎: Update install.yml to use consistent boolean values
Updated the 'ignore_errors' variable from 'yes' to a boolean value 'true' for consistency in the installation script.
2025-11-03 19:26:59 +01:00
d1961671d2 style 💎: Update package manager to use 'pkg' instead of 'pkf'
Switched from 'pkf' to 'pkg' in the Ansible playbook for installing required packages, ensuring consistency with other package managers.
2025-11-03 19:01:33 +01:00
d7efdd1d9a style 💎: Update package installation for samba packages
Updated the Ansible playbook to use apt instead of package for installing samba packages, adding additional options for improved efficiency and cleanup.
2025-11-03 18:42:52 +01:00
843ebd52a8 feat : Add Samba configuration to defaults/main.yml
Added Samba domain information and package installation to the defaults/main.yml template, allowing for easier setup of a Samba Active Directory Domain Controller. This change enables the use of Samba as an alternative to OpenLDAP for authentication purposes.
2025-11-02 17:37:21 +01:00
6078e8d9b9 feat : Add new feature to configure Samba AD DC DNS settings
This commit adds a new feature to the playbook that configures DNS settings for a Samba AD DC. It includes changes to the `defaults/main.yml` file, `tasks/install.yml`, `tasks/preparing.yml`, `tasks/verify.yml`, and `templates/resolv.conf.j2` files.
2025-10-21 21:10:30 +02:00
6c75e2910b patch undefined: Updated the DNS configuration in the resolv.conf.j2 template to include both the local host and the Ansible-managed DNS server.
Added a new line to the `resolv.conf.j2` template to specify the Ansible-managed DNS server (`{{ addc_ansible_host }}`). This ensures that the system uses both the local host and the managed DNS server for DNS resolution.
2025-10-19 22:25:19 +02:00
26dd315bc0 First draft generated by LLM 2025-09-30 17:40:18 +02:00