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:
Michael Scherer 2016-01-04 17:46:40 +01:00 committed by Brian Coca
parent 021ed1aa8b
commit 5536ddd118

View file

@ -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