Surface module debug (-D) to /usr/bin/ansible also
This commit is contained in:
parent
645640b88d
commit
dca511fa35
1 changed files with 6 additions and 0 deletions
6
failtest
6
failtest
|
@ -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…
Add table
Reference in a new issue