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

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
```
This commit is contained in:
Gaël Lambert 2016-12-29 14:46:40 +01:00 committed by Ryan Brown
parent d09ad82e71
commit 647bf4eceb

View file

@ -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: