1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/system
quidame f6db0745fc
filesystem: revamp module (#2472)
* revamp filesystem module to prepare next steps

* pass all commands to module.run_command() as lists
* refactor grow() and grow_cmd() to not need to override them so much
* refactor all existing get_fs_size() overrides to raise a ValueError if
  not able to parse command output and return an integer.
* override MKFS_FORCE_FLAGS the same way for all fstypes that require it
* improve documentation of limitations of the module regarding FreeBSD
* fix indentation in DOCUMENTATION
* add/update function/method docstrings
* fix pylint hints

filesystem: refactor integration tests

* Include *reiserfs* and *swap* in tests.
* Fix reiserfs related code and tests accordingly.
* Replace "other fs" (unhandled by this module), from *swap* to *minix*
  (both mkswap and mkfs.minix being provided by util-linux).
* Replace *dd* commands by *filesize* dedicated module.
* Use FQCNs and name the tasks.
* Update main tests conditionals.

* add a changelog fragment

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* declare variables as lists when lists are needed

* fix construction without useless conversion

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-05-18 06:46:45 +02:00
..
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py
awall.py
beadm.py
capabilities.py
cronvar.py
crypttab.py
dconf.py
dpkg_divert.py
facter.py
filesystem.py filesystem: revamp module (#2472) 2021-05-18 06:46:45 +02:00
gconftool2.py
interfaces_file.py
iptables_state.py
java_cert.py Update java_cert module (#2008) 2021-04-07 19:31:58 +02:00
java_keystore.py java_keystore: pass in secret to keytool via stdin (#2526) 2021-05-17 20:05:24 +02:00
kernel_blacklist.py
launchd.py
lbu.py
listen_ports_facts.py
locale_gen.py
lvg.py
lvol.py lvol - bug fix - Convert units to lowercase when using LVS or VGS command (#2369) 2021-05-03 21:25:52 +02:00
make.py
mksysb.py
modprobe.py
nosh.py
ohai.py
open_iscsi.py
openwrt_init.py
osx_defaults.py
pam_limits.py
pamd.py
parted.py
pids.py pids module: Adding pattern and ignore_case options (#2280) 2021-04-21 12:45:09 +02:00
puppet.py puppet - replace stdout with console in logdest option (#2407) 2021-05-03 07:26:47 +02:00
python_requirements_info.py Remove deprecated modules scheduled for removal in 3.0.0 (#1924) 2021-04-13 11:19:25 +00:00
runit.py
sefcontext.py
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
ssh_config.py
svc.py
syspatch.py
sysrc.py
sysupgrade.py
timezone.py
ufw.py
vdo.py
xfconf.py ModuleHelper - cmd params now taken from self.vars instead of self.module.params (#2517) 2021-05-17 22:44:00 +02:00
xfs_quota.py