David Rozé
2b82deba45
Fix folder duplicate checks
...
A folder may be exported to multiple clients/ranges.
This patch ensures the folder existence is checked only once.
Besides, the strip function is useless, split does strip strings
Signed-off-by: David Rozé <droze@baylibre.com>
2024-02-22 18:27:46 +01:00
Kip Fergusson
483914493e
Remove import of deleted vars/RedHat-6.yml
2020-12-16 17:35:25 -05:00
Jeff Geerling
24b790d6e7
Better fix for Ansible Lint failure on rule 208.
2020-08-31 09:30:37 -05:00
Jeff Geerling
5838fad667
Fixes lint issue with file permissions.
2020-08-20 11:39:53 -05:00
Patrick Ladd
90446e8967
Update to work for RHEL8 and future proof by making RHEL-6 the exception case
2020-07-01 16:51:32 -04:00
Jeff Geerling
ad911a67f2
Fixes #30 : Switch tests to use Molecule.
2018-09-25 20:24:48 -05:00
mprasil
9e02ea7195
Use include_tasks instead of include ( fixes #20 )
2018-09-20 16:24:17 +01:00
Jeff Geerling
331bcdb0b8
Merge pull request #27 from joelnb/fix-apt-deprecation-warning
...
Pass the list of packages to apt directly
2018-07-31 11:19:20 -05:00
Joel Noyce Barnham
48114e97f7
Pass the list of packages to apt directly
...
The current method results in a deprecation warning on the latest
version of Ansible.
2018-07-15 11:08:44 +01:00
Vincent Legoll
8e7803392f
Use exportfs -ra instead of restarting the NFS service to avoid breaking already existing mounts
2018-04-24 15:35:50 +02:00
Jeff Geerling
5e25122d12
Fix deprecation warnings in Ansible 2.5 for state 'present'.
2018-04-04 13:49:38 -05:00
Jeff Geerling
fffe8b108d
Restart NFS immediately if exports are updated.
2016-03-11 21:40:30 -06:00
Jeff Geerling
8670eb1720
Fix Ansible 2.0 deprecation warning for bare variables.
2016-03-11 10:47:32 -06:00
Jeff Geerling
8977a445bf
Tweaks to fix NFS setup and handler.
2016-03-11 10:44:05 -06:00
Nikola Dipanov
e7c2f5a175
Make the role work on Fedora systems
...
The commit makes sure that we include the correct overrides for service
names, and also that we don't assume yum as the package manager since
newer Fedora versions (22 and above) use dnf.
Tested on Fedora 23.
2016-03-11 14:24:57 +00:00
Jeff Geerling
f92b964835
Merge pull request #12 from TieWei/ensure-export-exists
...
Ensure directories to export exist
2016-02-02 20:31:14 -08:00
Wei Tie
7579b0852d
Ensure directories to export exist
2016-02-03 09:18:54 +08:00
Jeff Geerling
6aebafc392
Fixes #9 and #13 : Fix nfs_server_daemon for RHEL 7.
2016-02-02 11:11:07 -06:00
Wei Tie
6986526cc8
Adapt nfs_server_daemon for RHEL7
2016-02-02 11:49:25 +08:00
Jeff Geerling
d25407f994
Fix test failure on Ubuntu hosts.
2015-03-25 11:04:22 -05:00
Jeff Geerling
1bfc44f101
Fixes #6 : Role sometimes hangs on CentOS install if rpcbind not running.
2015-03-24 16:58:08 -05:00
Jeff Geerling
fa94acec71
Greatly simplify the role since most things are the same cross-platform.
2015-02-22 14:59:26 -06:00
Jeff Geerling
81bd62a237
Fixes #5 : Start and enable rpcbind if not running.
2015-02-22 14:46:04 -06:00
Jeff Geerling
6f216a635f
Allow exports to be managed.
2014-11-12 15:02:07 -06:00
Jeff Geerling
b71bb51c8d
Issue #1 : Make role work on Ubuntu/Debian.
2014-11-12 14:18:52 -06:00
Jeff Geerling
ff49294bc6
Initial commit.
2014-03-04 21:38:18 -06:00