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/module_utils
Gregory Furlong ae5090d90e
New modules btrfs_subvolume / btrfs_info ()
* Initial implementation for new modules btrfs_subvolume and btrfs_info

* Improve/flesh out documentation. Add ability to target filesystem by uuid, label or device. Update tests to test targeting filesystem by each supported parameter and when only mountpoint.

* Updates for btrfs modules. Add missing copyright notices. Switch options to contains in return documentation. Update btrfs_subvolume to always use closest parent mount.

* Add maintainers for btrfs module(s) and remove unused class member cause lint failure.

* Add changelog fragment. Attempt to only run against the VMs as part of CI.

* Updates per code review. Remove changelog fragment. Switch use of map to list comprehension. Add trailing comma to last item in multi-line dicts. Clean up documentation with complete senstences for descriptions and correct/consistent use of macros.

* Improved error handling in btrfs_subvolume module: add custom exception type, favor exceptions over immediate call to fail_json and add single top level return for failure scenarios. Normalize name and snapshot_source parameters early in module execution and remove unecessary duplicate normalization throughout processing.

* Add azp/posix/3 to aliases per feedback

* Clean up automatic mounting. Prevent automount when check_mode=True. Immediately fail if a mount is identified as required and automount=True. Identify the minimal subset of subvolumes that need to be mounted instead of just finding a single common root.

* Skip btrfs_subvolume integration tests if btrfs-progs isn't successfully installed.

* Bump version_added for btrfs modules to 6.6.0. Ensure consistent trailing punctuation for module descriptions and document check_mode behavior as attribute description rather than a module level note.

* Remove unused imports from btrfs_subvolume module.

* Fix import.

* Docs improvements.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-04-20 06:35:29 +02:00
..
identity/keycloak keycloak_group: support keycloak subgroups () 2023-02-25 11:12:35 +01:00
mh Ignore more unnecessary import warnings () 2023-02-12 22:02:24 +01:00
net_tools/pritunl
oracle
remote_management/lxca
source_control
storage
_mount.py
_stormssh.py Removes dependency on StormSSH () 2023-03-12 12:39:42 +01:00
alicloud_ecs.py
btrfs.py New modules btrfs_subvolume / btrfs_info () 2023-04-20 06:35:29 +02:00
cloud.py
cmd_runner.py
csv.py
database.py
deps.py
dimensiondata.py
gandi_livedns_api.py
gconftool2.py
gitlab.py
heroku.py
hwc_utils.py
ibm_sa_utils.py
ilo_redfish_utils.py Adding CheckiLORebootStatus functionality to ilo_redfish_command () 2023-04-16 13:06:12 +02:00
influxdb.py
ipa.py
jenkins.py
known_hosts.py
ldap.py ldap moduls: add optional ca_cert_file option () 2023-03-22 07:39:58 +01:00
linode.py
lxd.py lxd plugins and modules: fix TLS/SSL context creation () 2023-02-25 11:01:32 +01:00
manageiq.py
memset.py memset*.py: Fixed URLError handling () 2023-03-08 07:54:36 +01:00
module_helper.py Ignore more unnecessary import warnings () 2023-02-12 22:02:24 +01:00
ocapi_utils.py
oneandone.py
onepassword.py
oneview.py
online.py
opennebula.py one_vm: fix syntax error when creating VMs with a more complex template () 2023-04-16 13:22:49 +02:00
pipx.py pipx: Add support for system_site_packages () 2023-04-10 09:10:32 +02:00
proxmox.py
puppet.py Add skip_tags option to Puppet module () 2023-04-13 06:40:54 +02:00
pure.py
rax.py
redfish_utils.py added hpe thermal config and fan percent min () 2023-03-25 23:18:21 +01:00
redhat.py
redis.py
rundeck.py Rundeck modules fixes and improvements () 2023-04-16 13:23:39 +02:00
saslprep.py
scaleway.py
ssh.py
univention_umc.py
utm_utils.py
version.py
vexata.py
wdc_redfish_utils.py
xenserver.py
xfconf.py