mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
snap: add revision parameter (#11984)
* feat(snap): add ``revision`` parameter Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(snap): add changelog fragment for PR 11984 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,7 @@ def snap_runner(module: AnsibleModule, **kwargs) -> CmdRunner:
|
||||
channel=cmd_runner_fmt.as_func(lambda v: [] if v == "stable" else ["--channel", f"{v}"]),
|
||||
options=cmd_runner_fmt.as_list(),
|
||||
info=cmd_runner_fmt.as_fixed("info"),
|
||||
revision=cmd_runner_fmt.as_opt_val("--revision"),
|
||||
dangerous=cmd_runner_fmt.as_bool("--dangerous"),
|
||||
devmode=cmd_runner_fmt.as_bool("--devmode"),
|
||||
version=cmd_runner_fmt.as_fixed("version"),
|
||||
|
||||
Reference in New Issue
Block a user