2018-04-01 20:20:23 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
# I am an Ansible Python JSONARGS module. I should receive an encoding string.
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
json_arguments = """<<INCLUDE_ANSIBLE_MODULE_JSON_ARGS>>"""
|
|
|
|
|
2018-04-17 16:40:45 +00:00
|
|
|
print("{")
|
|
|
|
print(" \"changed\": false,")
|
|
|
|
print(" \"msg\": \"Here is my input\",")
|
|
|
|
print(" \"input\": [%s]" % (json_arguments,))
|
|
|
|
print("}")
|