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.
pull/13724/head
Michael Scherer 9 years ago
parent 210cf06d9a
commit 8599c56670

@ -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…
Cancel
Save