diff --git a/roles/mgrote_fileserver_smb/tasks/users.yml b/roles/mgrote_fileserver_smb/tasks/users.yml index 1a9519a2..8c98ad41 100644 --- a/roles/mgrote_fileserver_smb/tasks/users.yml +++ b/roles/mgrote_fileserver_smb/tasks/users.yml @@ -13,6 +13,7 @@ state: "{{ item.state | default('present') }}" remove: "{{ item.remove_dir | default('false') }}" create_home: false + shell: /usr/sbin/nologin loop: "{{ smb_users }}" no_log: "{{ no_debug | default('true') }}" notify: set samba passwords