ansible.posix/plugins/modules
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
..
__init__.py Initial commit 2020-03-09 13:15:28 +00:00
acl.py Merge branch 'main' into acldocs 2021-03-05 15:47:30 +00:00
at.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
authorized_key.py add no_log=False to clear false-positives 2021-03-19 09:07:14 +01:00
firewalld.py firewalld: Add support for firewalld port forwarding 2021-01-16 19:05:44 -06:00
mount.py feature: mount - implement swapon/swapoff (#106) 2021-03-28 01:21:08 +01:00
patch.py patch - add line break to fix pep8 error 2020-07-12 12:09:52 +02:00
seboolean.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
selinux.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
synchronize.py Merge pull request #120 from pneerincx/bugfix_for_24365 2021-03-05 18:30:48 +00:00
sysctl.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30