Updated package lists to ensure compatibility with different Linux distributions. This change will improve the reliability of the Ansible playbook when using these packages.
Updated the list of required packages for Samba, replacing 'dnsutils' with 'bind9-dnsutils'. This change ensures compatibility with the latest DNS server version. No functional changes were made.
Updated the default values for authentication domain, admin password and IP settings in the main.yml file to ensure consistency with the latest Ansible host configuration.
Updated the `samba_domain_info` section to use the new authentication domain and netbios domain. Also updated the `tasks/provision.yml` file to reflect these changes, including the correct realm, domain, server role, and interfaces for the Samba domain.
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.
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.
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.