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.
This commit is contained in:
2025-11-02 17:37:21 +01:00
parent 6078e8d9b9
commit 843ebd52a8
2 changed files with 23 additions and 12 deletions

View File

@@ -1,18 +1,7 @@
---
- name: Install required packages
ansible.builtin.package:
name:
- acl
- attr
- samba
- winbind
- libpam-winbind
- libnss-winbind
- krb5-config
- krb5-user
- dnsutils
- python3-setproctitle
# - smbclient
name: "{{ samba_packages }}"
state: latest
- name: Stop samba-ad-dc before provisioning (if running)