1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-05 07:47:12 +00:00
community.general/plugins/module_utils
patchback[bot] f074ca9b05
[PR #12097/850ef03f backport][stable-13] snap: enforce hold when installing at a specific revision (#12101)
snap: enforce hold when installing at a specific revision (#12097)

* snap: enforce hold when installing at a specific revision

When `revision` is specified, run `snap refresh --hold` after install/refresh
to actually pin the snap and prevent automatic updates from overriding it.
Detects hold-mismatch idempotently via the Notes column of `snap list`.

Fixes #12088



* feat(changelog): add fragment for snap hold fix (#12097)



* test(snap): remove incorrect manual-refresh assertion from hold test

snap refresh --hold only blocks the snapd auto-refresh daemon; a manual
snap refresh bypasses the hold. Remove the block that ran snap refresh
manually and asserted the revision was unchanged.



* snap: add bare-refresh hold test and docs warning for manual refresh bypass



---------


(cherry picked from commit 850ef03fe7)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 15:58:44 +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 multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +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
_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 Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +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