mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-27 06:09:37 -07: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:
parent
d09ad82e71
commit
647bf4eceb
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue