From 40449e8a175e4e84c96245848d59701b8c7e08a3 Mon Sep 17 00:00:00 2001 From: tdltdc Date: Sun, 19 Nov 2023 16:30:05 +0100 Subject: [PATCH] Update Samba services restart handler invocation --- roles/server/tasks/main.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml index b3abf81..e874ca9 100644 --- a/roles/server/tasks/main.yml +++ b/roles/server/tasks/main.yml @@ -84,7 +84,8 @@ validate: 'testparm -s %s' mode: '0644' notify: - - Restart Samba services + - Restart SMB service + - Restart NMB service tags: samba - name: Install global include file @@ -95,7 +96,8 @@ mode: '0644' when: samba_global_include is defined and samba_global_include notify: - - Restart Samba services + - Restart SMB service + - Restart NMB service tags: samba - name: Install home include file @@ -106,7 +108,8 @@ mode: '0644' when: samba_homes_include is defined and samba_homes_include notify: - - Restart Samba services + - Restart SMB service + - Restart NMB service tags: samba - name: Install share specific include files @@ -120,7 +123,8 @@ ( item.include_file is defined and item.include_file ) loop: "{{ samba_shares }}" notify: - - Restart Samba services + - Restart SMB service + - Restart NMB service tags: samba - name: Create username map file if needed @@ -129,7 +133,8 @@ src: smbusers.j2 mode: '0644' notify: - - Restart Samba services + - Restart SMB service + - Restart NMB service when: samba_username_map is defined and samba_username_map tags: samba