From 647bf4eceb6d8cc28e43120fbfaad0d250a3a91d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Lambert?= Date: Thu, 29 Dec 2016 14:46:40 +0100 Subject: [PATCH] doc: fix indentation in amazon/rds.py example docs (#19734) Actual doc give this error ``` fatal: [localhost]: FAILED! => { "changed": false, "failed": true, "invocation": { "module_args": { "command": "facts", "register": "new_database_facts" }, "module_name": "rds" }, "msg": "unsupported parameter for module: register" } ``` Register should be at the module `rds` level and not at args level in this example : ``` - rds: command: facts instance_name: new-database - register: new_database_facts + register: new_database_facts ``` --- lib/ansible/modules/cloud/amazon/rds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/rds.py b/lib/ansible/modules/cloud/amazon/rds.py index 41438da1843..d12593f3201 100644 --- a/lib/ansible/modules/cloud/amazon/rds.py +++ b/lib/ansible/modules/cloud/amazon/rds.py @@ -266,7 +266,7 @@ EXAMPLES = ''' - rds: command: facts instance_name: new-database - register: new_database_facts + register: new_database_facts # Rename an instance and wait for the change to take effect - rds: