1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 18:45:34 +00:00
community.general/plugins/module_utils
patchback[bot] f7647b2131
[PR #11752/d4031f36 backport][stable-13] kopia: Add kopia_repository module (#12127)
kopia: Add kopia_repository module (#11752)

* Add kopia module util

* fix pipeline suggestions

* add kopia repository module

* apply code review changes

* remove kopia_runner instance unit test

* update botmeta with kopia

* refactor docs and redundant state

* add kopia_info module and fix kopia_repository check mode support

- Add kopia_info module for read-only repository information gathering
  (kopia repository status, kopia repository throttle get) following
  the pacemaker_info pattern with ModuleHelper and info_module fragment
- Add _fmt_throttle to _kopia.py and register throttle format in
  kopia_runner; remove throttle_operation get option from
  kopia_repository per Ansible best practices (info ops belong in
  _info modules)
- Add throttle suboption dict to kopia_repository with all seven
  kopia repository throttle set flags
- Fix check_mode: support from full to actually full by implementing
  _predict_value() in kopia_repository; previously check_mode_skip
  caused changed to always be false in check mode
- Add check mode test cases to test_kopia_repository.yaml covering
  created and disconnected states for both connected and disconnected
  initial conditions
- Add BOTMETA.yml entry and full test fixture for kopia_info

* apply code review suggestions

(cherry picked from commit d4031f36e4)

Co-authored-by: munchtoast <45038532+munchtoast@users.noreply.github.com>
2026-05-30 15:12:10 +02:00
..
_mh Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
__init__.py Add __init__.py to work around ansible-test/pylint bug (#10926) 2025-10-15 21:42:55 +02:00
_alicloud_ecs.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_android_sdkmanager.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_bitbucket.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_btrfs.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_cmd_runner.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_cmd_runner_fmt.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_consul.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_crypt.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_csv.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_datetime.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_deps.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_django.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_emc_vnx.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_filelock.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_gandi_livedns_api.py gandi_livedns: implement diff mode support (#11934) 2026-05-03 12:49:39 +12:00
_gconftool2.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_gio_mime.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_gitlab.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_heroku.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_homebrew.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_hpe3par.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_hwc_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_ibm_sa_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_icinga2.py New module icinga2_downtime (#11462) 2026-02-23 05:38:54 +01:00
_ilo_redfish_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_influxdb.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_ipa.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_jenkins.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_keycloak.py [PR #11841/20a07fc9 backport][stable-13] new module: keycloak_clientscope_rolemappings (#12130) 2026-05-30 15:11:54 +02:00
_keycloak_clientsecret.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_keycloak_utils.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_kopia.py [PR #11752/d4031f36 backport][stable-13] kopia: Add kopia_repository module (#12127) 2026-05-30 15:12:10 +02:00
_ldap.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_linode.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_locale_gen.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_lvm.py lxc_container: use LVM runners from _lvm module utils (#11920) 2026-04-29 21:56:30 +12:00
_lxc.py [PR #12106/50046965 backport][stable-13] lxc_container: Fix create_script in plugins/module_utils/_lxc.py (#12111) 2026-05-27 12:49:00 +02:00
_lxca_common.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_lxd.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_manageiq.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_memset.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_module_helper.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_nomad.py nomad modules: extract common connection logic into _nomad module utils (#11957) 2026-05-08 23:25:26 +12:00
_ocapi_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_onepassword.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_oneview.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_online.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_opennebula.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_pacemaker.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_pipx.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_pkg_req.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_pritunl_api.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
_puppet.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_python_runner.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_redfish_utils.py Replace % string formatting with f-strings across multiple plugins (#11908) 2026-04-22 07:06:27 +12:00
_redis.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_rundeck.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_scaleway.py scaleway: fix NoneType error in get_resources() (#11918) 2026-04-27 20:44:52 +02:00
_snap.py [PR #12097/850ef03f backport][stable-13] snap: enforce hold when installing at a specific revision (#12101) 2026-05-25 15:58:44 +02:00
_ssh.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_stormssh.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_systemd.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_univention_umc.py Remove as maintainer (#11911) 2026-05-14 10:20:10 +02:00
_utm_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_vardict.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_version.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_vexata.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_wdc_redfish_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_xdg_mime.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_xenserver.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_xfconf.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00