Skip to content

Commit

Permalink
remove rsync path from returned facts
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Nov 17, 2016
1 parent f7fe6dc commit 7c960d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/plugins/action/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def _parse_returned_data(self, res):
data = json.loads(filtered_output)
data['_ansible_parsed'] = True
if 'ansible_facts' in data and isinstance(data['ansible_facts'], dict):
remove_keys = set()
remove_keys = set(['ansible_rsync_path'])
fact_keys = set(data['ansible_facts'].keys())
# first we add all of our magic variable names to the set of
# keys we want to remove from facts
Expand Down

0 comments on commit 7c960d4

Please sign in to comment.