ansible/ansible — pull request #9625 by jonhadfield (2014-11-25 16:28:45+00:00)
Title: Prevent empty diffs being written between task messages

When running a playbook with the --check and --diff options, empty diffs are still passed to the display method, resulting in an empty line being output between each task message.
This PR simply checks a non-empty diff was returned before passing to display.