Merge pull request #3027 from sergevanginderachter/verbose_always_tag_cli

hide magic variables used bin/ansible output
This commit is contained in:
Michael DeHaan 2013-05-27 08:05:25 -07:00
commit ce142be1e0

View file

@ -322,6 +322,10 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks):
super(CliRunnerCallbacks, self).on_failed(host, res, ignore_errors=ignore_errors)
def on_ok(self, host, res):
# hide magic variables used for ansible-playbook
res.pop('verbose_override', None)
res.pop('verbose_always', None)
self._on_any(host,res)
super(CliRunnerCallbacks, self).on_ok(host, res)