Commit Graph

178 Commits

Author SHA1 Message Date
Bert Van Vreckem
02bb823e8c Remove 'with_items' loop from package task 2019-06-22 18:06:22 +02:00
Bert Van Vreckem
575e242992 Update minimal Ansible version and supported platforms 2019-06-22 18:00:36 +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
37a8bb43bc Fix #41 by changing the default of "map to guest" to "never" 2019-06-22 17:21:41 +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
ce95f7adfb
Merge pull request #39 from BenGig/master
include options need absolute paths
2019-06-22 17:08:35 +02:00
Bengt Giger
eaefa6de30 include options use absolute paths
Configuration includes needs an absolute path, at least on Debian. Relative
paths are ignored.
As the include files are copied to {{ samba_configuration_dir }}, I suggest
to prefix the corresponding includes in the template with the same path.

Fixes unbalanced curly bracket
2018-12-05 15:49:00 +01:00
Bengt Giger
d2b24a68e5 include options use absolute paths
Configuration includes needs an absolute path, at least on Debian. Relative
paths are ignored.
As the include files are copied to {{ samba_configuration_dir }}, I suggest
to prefix the corresponding includes in the template with the same path.
2018-12-05 15:43:18 +01:00
Bert Van Vreckem
50c6d5ba69 Update change log for v2.7.0 2018-10-04 23:16:33 +02:00
Bert Van Vreckem
7ac006d53f Add documentation for custom config files 2018-10-04 23:16:13 +02:00
Bert Van Vreckem
f6cc5f9746 Add code to install user defined custom config files 2018-10-04 23:15:28 +02:00
Bert Van Vreckem
966c80efd9
Merge pull request #36 from goetzk/log-level
Control samba log level
2018-10-04 21:05:08 +02:00
Bert Van Vreckem
c9bac40925
Merge pull request #34 from goetzk/control-share-browsing
Control if shares are browseable or not
2018-10-04 21:04:39 +02:00
Bert Van Vreckem
5c24a32f15
Merge pull request #33 from goetzk/apple-extensions
Support for enabling Apple SMB extensions
2018-10-04 21:03:50 +02:00
Bert Van Vreckem
65f32566ea
Merge pull request #35 from goetzk/include-config-files
Load arbitrary config files in every section.
2018-10-04 21:02:05 +02:00
Karl Goetz
77a07187dd Control samba log level
If logging to a file, allow configuring log levels for debug purposes.
2018-09-03 15:26:05 +10:00
Karl Goetz
77d0bd4b9f Load arbitrary config files in every section.
This adds loading arbitrary samba config in to the existing sections. In
essence, it allows customising the configuration without making changes to the
role for those who aren't able to readily make the changes they require.

Closes #32
2018-09-03 15:25:25 +10: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
Karl Goetz
e4161a506d Control if shares are browseable or not
Adds the 'browseable' option to shares (as is already available in homes) ;
useful for hiding things like backup targets from casual browsing.
2018-09-03 15:05:39 +10:00
Bert Van Vreckem
967b64f048 Fix yamllint warnings 2018-08-16 21:32:30 +02:00
Bert Van Vreckem
0360ec2b48 Add documentation for new role variables samba_printer_type and samba_cups_server 2018-08-16 21:31:32 +02:00
Bert Van Vreckem
6cfd4149b6 Add contributors for v2.6.0 2018-08-16 21:25:20 +02:00
Bert Van Vreckem
aa091db224 Update change log for v2.6.0 2018-08-16 21:25:20 +02:00
Bert Van Vreckem
6fdef4b21c Don't print user passwords out to the log (fixes #29) 2018-08-16 21:25:20 +02:00
Bert Van Vreckem
4e60993bad Update current supported versions of Fedora to 27 and 28 (25 and 26 are EOL) 2018-08-16 21:25:20 +02:00
Bert Van Vreckem
83963fe534 Replace deprecated option "syslog only" with "logging = syslog" 2018-08-16 21:25:20 +02:00
Bert Van Vreckem
1f89ed6dc4
Merge pull request #31 from goetzk/patch-2
Change wording for web docroot
2018-08-16 21:10:45 +02:00
Bert Van Vreckem
f25ad50259
Merge pull request #30 from goetzk/patch-1
Only create www_documentroot when requested
2018-08-16 21:00:40 +02:00
Bert Van Vreckem
dd0b2913aa
Merge pull request #28 from thiagogomesverissimo/issue27
Enable a cups server to be used in this roles
2018-08-16 20:57:32 +02:00
Bert Van Vreckem
7ce734ca40 Bump version of the Fedora Docker image to 28 2018-08-16 19:14:03 +02:00
Karl Goetz
c37a1e5e64
Change wording for web docroot
Role variables is updated to mention the two possible web docroot locations - the item listed previously was for RedHat systems.
2018-08-11 13:16:55 +10: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
Thiago Gomes Verissimo
8cc7cd0286 fix if stmt 2018-05-23 10:57:01 -03:00
Thiago Gomes Verissimo
71a6e33c0e fix endif 2018-05-23 10:54:35 -03:00
Thiago Gomes Verissimo
5089cd887a Enable a cups server to be used in this roles
Fix #27
2018-05-23 10:53:35 -03:00
Thiago Gomes Verissimo
3468e34364 Enable a cups server to be used in this roles
Fix #27
2018-05-23 10:48:32 -03:00
Bert Van Vreckem
daf7e7e7a3 Update change log for v2.5.1 2018-05-20 01:00:10 +02:00
Bert Van Vreckem
f465edbc9a Update README for v2.5.1: new variables, test environment, contributors 2018-05-20 00:59:54 +02:00
Bert Van Vreckem
9002e14e60 Remove quotes from smbpasswd/pdbedit invocation 2018-05-20 00:49:54 +02:00
Bert Van Vreckem
687c9f6605 Update Ubuntu version 2018-05-20 00:49:14 +02:00
Bert Van Vreckem
8c67801f1a Update list of supported platforms 2018-05-20 00:48:52 +02:00
Bert Van Vreckem
c4ee3fa60a Fix whitespace in configuration file 2018-05-20 00:48:15 +02:00
Bert Van Vreckem
9eb5e7e767 Fix yamllint warnings 2018-05-20 00:47:50 +02:00
Bert Van Vreckem
5d25692f88 Update Docker image versions 2018-05-19 23:44:24 +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
Bert Van Vreckem
ead12ecfe9
Merge pull request #24 from jonathanunderwood/server_max_protocol
Add samba_server_max_protocol parameter
2018-05-19 23:42:59 +02:00
Bert Van Vreckem
70b2b21b2b
Merge branch 'master' into server_max_protocol 2018-05-19 23:41:58 +02:00
Bert Van Vreckem
59e0e317e9
Merge pull request #23 from kota65535/feature/username_map
Added username map configuration
2018-05-19 23:40:13 +02:00