Commit Graph

30 Commits

Author SHA1 Message Date
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