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 (#5832)
* 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 (#5814) 2023-02-25 11:12:35 +01:00
mh Ignore more unnecessary import warnings (#5981) 2023-02-12 22:02:24 +01:00
net_tools/pritunl Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
oracle Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
remote_management/lxca Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
source_control Remove deprecated features, bump version to 6.0.0 (#5326) 2022-10-25 08:07:21 +02:00
storage Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
_mount.py Add remaining copyright statements, add licenses sanity test (#5098) 2022-08-08 23:23:08 +02:00
_stormssh.py Removes dependency on StormSSH (#6117) 2023-03-12 12:39:42 +01:00
alicloud_ecs.py multiple modules: removed unused imports (#5240) 2022-09-09 22:23:48 +02:00
btrfs.py New modules btrfs_subvolume / btrfs_info (#5832) 2023-04-20 06:35:29 +02:00
cloud.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
cmd_runner.py cmd_runner: allow bool format to pass alternate (false) value (#5647) 2022-12-04 12:18:33 +01:00
csv.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
database.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
deps.py add dependency manager (#5535) 2022-11-17 06:55:00 +01:00
dimensiondata.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
gandi_livedns_api.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
gconftool2.py gconftool2: refactored to use ModuleHelper + CmdRunner (#5545) 2022-11-15 21:02:45 +01:00
gitlab.py respect new variable property in gitlab_group_variable and gitlab_project_variable (#5667) 2022-12-10 21:40:36 +01:00
heroku.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
hwc_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ibm_sa_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ilo_redfish_utils.py Adding CheckiLORebootStatus functionality to ilo_redfish_command (#6115) 2023-04-16 13:06:12 +02:00
influxdb.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
ipa.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
jenkins.py jenkins_plugin: fix sanity checks (#5565) 2022-11-17 06:55:46 +01:00
known_hosts.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ldap.py ldap moduls: add optional ca_cert_file option (#6185) 2023-03-22 07:39:58 +01:00
linode.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
lxd.py lxd plugins and modules: fix TLS/SSL context creation (#6034) 2023-02-25 11:01:32 +01:00
manageiq.py manageiq_tags_info: new module (#5368) 2022-10-23 11:33:07 +02:00
memset.py memset*.py: Fixed URLError handling (#6114) 2023-03-08 07:54:36 +01:00
module_helper.py Ignore more unnecessary import warnings (#5981) 2023-02-12 22:02:24 +01:00
ocapi_utils.py Remote management modules for OCAPI-based devices. (#5754) 2023-01-22 17:10:36 +01:00
oneandone.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
onepassword.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
oneview.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
online.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
opennebula.py one_vm: fix syntax error when creating VMs with a more complex template (#6294) 2023-04-16 13:22:49 +02:00
pipx.py pipx: Add support for system_site_packages (#6308) 2023-04-10 09:10:32 +02:00
proxmox.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
puppet.py Add skip_tags option to Puppet module (#6293) 2023-04-13 06:40:54 +02:00
pure.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
rax.py rax_scaling_group: fix sanity check (#5563) 2022-11-16 21:58:55 +01:00
redfish_utils.py added hpe thermal config and fan percent min (#6208) 2023-03-25 23:18:21 +01:00
redhat.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
redis.py Fix linting errors; fix some real bugs (#5111) 2022-08-12 11:07:30 +02:00
rundeck.py Rundeck modules fixes and improvements (#6300) 2023-04-16 13:23:39 +02:00
saslprep.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
scaleway.py scaleway module utils: make function private that should be removed (#5499) 2023-01-18 21:32:40 +01:00
ssh.py ssh_config: fixed sanity (#5720) 2022-12-22 21:34:21 +01:00
univention_umc.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
utm_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
version.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
vexata.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
wdc_redfish_utils.py WDC Redfish support for setting the power mode. (#5145) 2022-09-03 12:45:03 +02:00
xenserver.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
xfconf.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00