tests/ansible/lib/modules/custom_python_json_args_module.py
raw| 1 | #!/usr/bin/python |
| 2 | # I am an Ansible Python JSONARGS module. I should receive an encoding string. |
| 3 | |
| 4 | json_arguments = """<<INCLUDE_ANSIBLE_MODULE_JSON_ARGS>>""" |
| 5 | |
| 6 | print("{") |
| 7 | print(" \"changed\": false,") |
| 8 | print(" \"msg\": \"Here is my input\",") |
| 9 | print(" \"input\": [%s]" % (json_arguments,)) |
| 10 | print("}") |