From e5bc38d856b3db0c436ccf63538bd8def9594dca Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:57:29 +1200 Subject: [PATCH] MH: use mute_vardict_deprecation (#8776) * use mute_vardict_deprecation * add changelog frag --- changelogs/fragments/8776-mute-vardict-deprecation.yml | 3 +++ plugins/modules/gio_mime.py | 1 + plugins/modules/jira.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/8776-mute-vardict-deprecation.yml diff --git a/changelogs/fragments/8776-mute-vardict-deprecation.yml b/changelogs/fragments/8776-mute-vardict-deprecation.yml new file mode 100644 index 0000000000..a74e40e923 --- /dev/null +++ b/changelogs/fragments/8776-mute-vardict-deprecation.yml @@ -0,0 +1,3 @@ +minor_changes: + - jira - mute the old ``VarDict`` deprecation (https://github.com/ansible-collections/community.general/pull/8776). + - gio_mime - mute the old ``VarDict`` deprecation (https://github.com/ansible-collections/community.general/pull/8776). diff --git a/plugins/modules/gio_mime.py b/plugins/modules/gio_mime.py index 27f90581ef..82c583c76f 100644 --- a/plugins/modules/gio_mime.py +++ b/plugins/modules/gio_mime.py @@ -84,6 +84,7 @@ class GioMime(ModuleHelper): ), supports_check_mode=True, ) + mute_vardict_deprecation = True def __init_module__(self): self.runner = gio_mime_runner(self.module, check_rc=True) diff --git a/plugins/modules/jira.py b/plugins/modules/jira.py index c36cf99375..db3eca06bb 100644 --- a/plugins/modules/jira.py +++ b/plugins/modules/jira.py @@ -531,7 +531,7 @@ class JIRA(StateModuleHelper): ), supports_check_mode=False ) - + mute_vardict_deprecation = True state_param = 'operation' def __init_module__(self):