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.
This commit is contained in:
@@ -20,6 +20,17 @@
|
||||
# enabled: no
|
||||
# ignore_errors: true
|
||||
|
||||
- name: Stop Samba services before provisioning
|
||||
ansible.builtin.service:
|
||||
name: "{{ item }}"
|
||||
state: stopped
|
||||
ignore_errors: true
|
||||
loop:
|
||||
- samba-ad-dc
|
||||
- smbd
|
||||
- nmbd
|
||||
- winbind
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user