From 2e8146c52f911edcf83b92f7f6edb9f22d73ea13 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 11 May 2016 15:17:18 -0500 Subject: [PATCH] Improve documentation about the JSON args file --- docsite/rst/developing_modules.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docsite/rst/developing_modules.rst b/docsite/rst/developing_modules.rst index f1f5d4a2a2..1ec1b4ecdd 100644 --- a/docsite/rst/developing_modules.rst +++ b/docsite/rst/developing_modules.rst @@ -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 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_diff": false, "_ansible_debug": false,