Skip to content

Commit

Permalink
Update Samba services restart handler invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
tdltdc committed Nov 19, 2023
1 parent bfb0d5b commit 40449e8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions roles/server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 40449e8

Please sign in to comment.