Bert Van Vreckem
932b192c49
Fix ansible-lint warning by setting pipefail in shell: tasks
2019-06-23 14:24:04 +02:00
Bert Van Vreckem
02bb823e8c
Remove 'with_items' loop from package task
2019-06-22 18:06:22 +02:00
Bert Van Vreckem
e34d8f5215
Removed 'with_items' loop from package task
2019-06-22 18:00:06 +02:00
Bert Van Vreckem
598c9fda9a
Fix deprecation warnings for Ansible 2.8.1
2019-06-22 17:56:34 +02:00
Bert Van Vreckem
c01efd669e
Fix #42 by only applying mitigation on vulnerable Samba versions
2019-06-22 17:47:29 +02:00
Bert Van Vreckem
03a1920252
Fix #37 by removing inconsistencies in variable naming of
...
`samba_homes_include`
2019-06-22 17:18:27 +02:00
Bert Van Vreckem
f6cc5f9746
Add code to install user defined custom config files
2018-10-04 23:15:28 +02:00
Karl Goetz
cc4926237e
Support for enabling Apple SMB extensions
...
Adds support for enabling Apples SMB extensions via the VFS fruit module.
This is necessary for Time Machine backups to Samba.
Related to #32
2018-09-03 15:23:50 +10:00
Bert Van Vreckem
6fdef4b21c
Don't print user passwords out to the log ( fixes #29 )
2018-08-16 21:25:20 +02:00
Karl Goetz
9b127b9fd4
Only create www_documentroot when requested
...
samba_create_varwww_symlinks controls linking to the www docroot but
nothing else requires it to be available.
This commit makes its creation conditional on expected use.
2018-08-11 13:15:01 +10:00
Bert Van Vreckem
9002e14e60
Remove quotes from smbpasswd/pdbedit invocation
2018-05-20 00:49:54 +02:00
Bert Van Vreckem
9eb5e7e767
Fix yamllint warnings
2018-05-20 00:47:50 +02:00
Bert Van Vreckem
281cddb700
Merge pull request #26 from towo/master
...
Name the include_vars task
2018-05-19 23:43:50 +02:00
Tobias Wolter
d2196c8091
Name the include_vars task
...
Appeasement for the linter gods.
2018-04-12 01:35:08 +02:00
Tomohiko
675baed465
Added username map configuration
2017-12-28 16:49:12 +09:00
Bert Van Vreckem
403380c22f
Fix handler call
2017-05-09 14:26:17 +02:00
Bert Van Vreckem
87d4fe0eca
Fix service names & start services in a single task
2017-05-09 14:19:01 +02:00
Bert Van Vreckem
f88f793cab
Check whether ansible_selinux is defined
2017-05-09 13:46:38 +02:00
Bert Van Vreckem
ed3e43196b
Merge pull request #15 from kota65535/master
...
modifiy conditional expressions of ansible_selinux
2017-01-20 10:35:40 +01:00
kota65535
1b05ba3696
modifiy conditional expressions of ansible_selinux
2016-12-20 14:10:30 +09:00
SvenEeckeman
723b9413b0
Update main.yml
...
Fixed a problem that occurs when adding users with usernames that are part of already existing usernames (e.g. when alexander exists, you won't be able to add user alex).
2016-12-01 21:24:21 +01:00
Bert Van Vreckem
b05c10721f
add tags to all tasks
2016-10-29 20:47:38 +02:00
Paul Montero
cb6aac6aa2
Change the key path_owner by owner
2016-10-21 12:04:43 -05:00
Paul Montero
ec14e608d0
Add the ability to set owner to the path
2016-10-13 18:05:53 -05:00
Bert Van Vreckem
f7a7b457da
Move samba configuration task before starting service
...
Arch Linux does not have a default config file and will otherwise fail to start
2016-07-29 09:56:04 +02:00
Bert Van Vreckem
4fe403d5f3
Fixed #6 , idempotence of adding users
2016-05-29 09:50:49 +02:00
DarkStar1973
7f34851419
Add forgotten "when: samba_create_varwww_symlinks"
...
Add forgotten "when: samba_create_varwww_symlinks" in task.
2016-05-27 17:47:03 +02:00
Bert Van Vreckem
d5da66cb52
Start service before installing config.
...
This fixes a catch-22 on Fedora. The lock file directory doesn’t exist before starting the service
for a first time.
2016-05-12 11:36:16 +02:00
Bert Van Vreckem
982d4f45f6
Removed superfluous when: clauses
2016-05-12 11:02:34 +02:00
Bert Van Vreckem
39c5bb3a9c
Ensure webserver document root exists; move hard coded config file name to vars
2016-05-12 10:19:00 +02:00
Bert Van Vreckem
3e0776eecb
Moved webserver document root to vars (and fixed path for Debian)
2016-05-12 10:07:44 +02:00
Bert Van Vreckem
a0b310d4ad
full variable syntax instead of deprecated bare variables; default to empty list instead of undefined variable
2016-05-12 10:01:50 +02:00
Bert Van Vreckem
47ca9e1b14
Moved hard coded SELinux boolean names to vars/
2016-05-12 09:51:19 +02:00
Bert Van Vreckem
8b3cbb232a
Moved hard coded packages to vars/, use package: module
2016-05-12 09:48:59 +02:00
Bert Van Vreckem
f49aa012b5
Merge pull request #7 from iangreenleaf/debian-support
...
Debian support
2016-05-12 07:29:52 +02:00
Ian Young
751a9694d9
Handle different service names across OSs
2016-05-11 22:31:12 -05:00
Ian Young
1dfadb6011
SELinux support is optional
2016-05-11 22:31:12 -05:00
Ian Young
a668e0f852
Support both apt and yum package managers
2016-01-02 00:13:29 -08:00
Ian Young
a34e6c9715
Use path if defined for share
2016-01-01 23:26:24 -08:00
Bert Van Vreckem
6500f77ac3
Applied coding conventions to changes from PR #4
2015-12-01 14:57:56 +01:00
birgitcroux
f33d2085d9
create shares root first
2015-12-01 13:18:58 +01:00
Bert Van Vreckem
a944280ba0
Change variable type of samba_create_varwww_symlinks from string to boolean ( #2 )
2015-11-05 15:13:17 +01:00
Bert Van Vreckem
16be23ac02
Remove firewall task. Managing the firewall is not a concern of this roll
2015-11-05 10:41:23 +01:00
Bert Van Vreckem
2ae6ec85c0
Fix for #2 : Restart WinBind when changing the configuration
2015-11-05 10:40:45 +01:00
Bert Van Vreckem
0946b2e7a1
Rename force_group into group
2015-03-14 01:00:48 +01:00
Bert Van Vreckem
fba843d672
Put all shares under a root directory and provide more sane defaults
2015-03-14 00:32:37 +01:00
Bert Van Vreckem
8549204093
Initial commit, basic install and template. Works without setting variables
2015-03-13 21:55:33 +01:00