1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 02:25:36 +00:00
community.general/plugins
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
..
action [PR #12093/1bf5e6e6 backport][stable-13] iptables_state: clean up code (#12098) 2026-05-25 15:34:01 +02:00
become pfexec become plugin: fix broken defaults for illumos/SmartOS (#11623) 2026-04-25 21:12:36 +02:00
cache Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
callback Start opentelemetry spans on host start instead of task start (#11434) 2026-05-17 11:28:15 +02:00
connection saltstack connection plugin: add documentation (#11992) 2026-05-07 07:36:47 +12:00
doc_fragments [PR #11752/d4031f36 backport][stable-13] kopia: Add kopia_repository module (#12127) 2026-05-30 15:12:10 +02:00
filter [PR #12081/8faf8c38 backport][stable-13] Add from_toml filter (#12081) (#12125) 2026-05-30 15:11:41 +02:00
inventory [PR #12094/cbc6f6ee backport][stable-13] multiple: replace namedtuple with dataclass (#12102) 2026-05-25 15:59:50 +02:00
lookup onepassword* lookups: drop support for op v1 (#12061) 2026-05-18 05:12:14 +02:00
module_utils [PR #11752/d4031f36 backport][stable-13] kopia: Add kopia_repository module (#12127) 2026-05-30 15:12:10 +02:00
modules [PR #11752/d4031f36 backport][stable-13] kopia: Add kopia_repository module (#12127) 2026-05-30 15:12:10 +02:00
plugin_utils Lookup plugins: prevent using _terms for positional arguments, and reject positional arguments completely for lookups that don't use them (#12060) 2026-05-17 09:43:21 +02:00
test Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00