mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
* state absent was not honoring check_mode
* added changelog fragment
(cherry picked from commit 9a5191d1f9)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -237,8 +237,9 @@ class XFConfProperty(CmdMixin, StateMixin, ModuleHelper):
|
||||
self.update_xfconf_output(value=self.vars.value)
|
||||
|
||||
def state_absent(self):
|
||||
if not self.module.check_mode:
|
||||
self.run_command(params=('channel', 'property', {'reset': True}))
|
||||
self.vars.value = None
|
||||
self.run_command(params=('channel', 'property', {'reset': True}))
|
||||
self.update_xfconf_output(previous_value=self.vars.previous_value,
|
||||
value=None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user