1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Misc Fixes: Clean up whitespace warnings

This commit is contained in:
Arky 2017-10-19 13:33:02 +07:00
parent 2203107f85
commit 3abb27bbed
44 changed files with 121 additions and 135 deletions

View file

@ -10,7 +10,7 @@
# Install and configure samba server (requires ports 137, 138, 139, 445 open).
- name: Ensure Samba-related packages are installed.
package: name={{ item }}
package: name={{ item }}
state=present
with_items:
- samba
@ -26,25 +26,25 @@
- name: Ensure Samba is running and set to start on boot.
service: name={{ smb_service }} state=started enabled=yes
tags:
tags:
- samba
when : samba_enabled
- name: netbios name server is running and set to start on boot.
service: name={{ nmb_service }} state=started enabled=yes
tags:
tags:
- samba
when : samba_enabled
- name: Disable Samba if that is wanted
service: name={{ smb_service }} state=stopped enabled=no
tags:
tags:
- samba
when : not samba_enabled
- name: Disable Samba name server if that is wanted
service: name={{ nmb_service }} state=stopped enabled=no
tags:
tags:
- samba
when : not samba_enabled
@ -60,4 +60,3 @@
value: '"Samba is a Microsoft compatible remote file access system - generalized to CIFS --common internet file system"'
- option: enabled
value: "{{ samba_enabled }}"