mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Do not set 'changed' to True when using group_by
Since group_by is not changing in any way to the remote system, there is no change. This also make things more consistent with the set_fact plugin.
This commit is contained in:
@@ -40,6 +40,6 @@ class ActionModule(ActionBase):
|
||||
group_name = self._task.args.get('key')
|
||||
group_name = group_name.replace(' ','-')
|
||||
|
||||
result['changed'] = True
|
||||
result['changed'] = False
|
||||
result['add_group'] = group_name
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user