Merge pull request #2221 from sfromm/fix-ansible-cli-check-mode

Fix CliRunnerCallbacks.on_file_diff in callbacks.py
This commit is contained in:
Michael DeHaan 2013-02-27 15:34:05 -08:00
commit 323ed27106

View file

@ -285,8 +285,7 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks):
utils.write_tree_file(self.options.tree, host, utils.jsonify(result2,format=True))
def on_file_diff(self, host, diff):
if self.options.diff:
print utils.get_diff(diff)
print utils.get_diff(diff)
super(CliRunnerCallbacks, self).on_file_diff(host, diff)
########################################################################