1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Improve documentation about the JSON args file

This commit is contained in:
Matt Martz 2016-05-11 15:17:18 -05:00
parent 0faddfa168
commit 2e8146c52f

View file

@ -211,10 +211,11 @@ Binary Modules Input
Support for binary modules was added in Ansible 2.2. When Ansible detects a binary module, it will proceed to Support for binary modules was added in Ansible 2.2. When Ansible detects a binary module, it will proceed to
supply the argument input as a file on ``argv[1]`` that is formatted as JSON. The JSON contents of that file supply the argument input as a file on ``argv[1]`` that is formatted as JSON. The JSON contents of that file
would resemble something similar to:: would resemble something similar to the following payload for a module accepting the same arguments as the
``ping`` module::
{ {
"name": "Ansible", "data": "pong",
"_ansible_verbosity": 4, "_ansible_verbosity": 4,
"_ansible_diff": false, "_ansible_diff": false,
"_ansible_debug": false, "_ansible_debug": false,