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:
parent
210cf06d9a
commit
8599c56670
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,6 @@ class ActionModule(ActionBase):
|
||||||
group_name = self._task.args.get('key')
|
group_name = self._task.args.get('key')
|
||||||
group_name = group_name.replace(' ','-')
|
group_name = group_name.replace(' ','-')
|
||||||
|
|
||||||
result['changed'] = True
|
result['changed'] = False
|
||||||
result['add_group'] = group_name
|
result['add_group'] = group_name
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in a new issue