ansible.posix/plugins
quidame eafd8f8935 feature: mount - implement swapon/swapoff (#106)
* Declare functions swapon() & swapoff(), is_swap() & reswap().
* Apply swapon/swapoff for states mounted, unmounted, remounted and
  absent.
* Override default opts and boot when fstype=swap.
* Do not honor 'fstab' when fstype=swap (fail instead).
* Also fail when fstype=swap and 'path' is not 'none' ('-' for Solaris).
* Update module documentation accordingly.
+ Replace all platform.system() calls by a variable.

refactor integration tests

* Improve readability/understanding of what is tested, and what OS is
  targeted.
* Move 'swap' related test cases into dedicated file (swap.yml).
* Add new test cases about swap enabling/disabling.
* Extend tests to FreeBSD when possible.
2021-03-28 01:21:08 +01:00
..
action Merge pull request #118 from pneerincx/bugfix_for_17492 2021-03-05 18:26:53 +00:00
callback fix skippy callback deprecation warning 2020-08-21 16:24:35 -05:00
module_utils Fix sanity test for modules 2021-03-02 18:53:06 +05:30
modules feature: mount - implement swapon/swapoff (#106) 2021-03-28 01:21:08 +01:00
shell Allow unsetting env vars (#7) 2020-04-23 10:57:52 -05:00