Commit Graph

184 Commits

Author SHA1 Message Date
vincent
1c0e2b003f cleanup 2021-07-10 21:16:08 +02:00
Robin Ophalvens
812643507e
Replace Docker tests with Molecule. Fix acceptance tests. (#57)
* [NEW]: added Molecule support
* [UPDATE]: fix linting errors
* [UPDATE]: Fixed missing smbclient dependency in travis config file
* Changed container name; added nmblookup version check
* [UPDATE]: Added samba-testsuite package in travis.yml
2020-06-20 10:18:05 +02:00
Bert Van Vreckem
83b6add0f4 Set Bash executable explicitly 2019-06-23 14:48:32 +02:00
Bert Van Vreckem
3d5eb23b0c Update Fedora version 2019-06-23 14:28:43 +02:00
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
ff25ce2ebc Update change log for v2.7.1 2019-06-22 19:40:00 +02:00
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