Add note about reading input for binary modules

pull/13771/head
Matt Martz 9 years ago
parent ddf3c3838f
commit c22c1b4785

@ -204,6 +204,24 @@ This should return something like::
{"changed": true, "time": "2012-03-14 12:23:00.000307"} {"changed": true, "time": "2012-03-14 12:23:00.000307"}
.. _binary_module_reading_input:
Binary Modules Input
~~~~~~~~~~~~~~~~~~~~
Support for binary modules was added in Ansible 2.1. 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
would resemble something similar to::
{
"name": "Ansible",
"_ansible_verbosity": 4,
"_ansible_diff": false,
"_ansible_debug": false,
"_ansible_check_mode": false,
"_ansible_no_log": false
}
.. _module_provided_facts: .. _module_provided_facts:
Module Provided 'Facts' Module Provided 'Facts'

Loading…
Cancel
Save