Surface module debug (-D) to /usr/bin/ansible also

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent 645640b88d
commit dca511fa35

@ -17,12 +17,18 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
import sys
try:
import json
except ImportError:
import simplejson as json
print >>sys.stderr, "THIS IS A TEST FAILURE"
print json.dumps({
"failed" : True,
"msg" : "this module always fails"
})

Loading…
Cancel
Save