mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
updated to describe required parameter (#56197)
* update ec2.py to describe required parameters for each option for `state`
This commit is contained in:
parent
748cfd89ab
commit
5346a5cdac
1 changed files with 4 additions and 4 deletions
|
@ -195,11 +195,11 @@ options:
|
|||
state:
|
||||
version_added: "1.3"
|
||||
description:
|
||||
- create, terminate, start, stop or restart instances.
|
||||
The state 'restarted' was added in 2.2
|
||||
required: false
|
||||
- Create, terminate, start, stop or restart instances. The state 'restarted' was added in Ansible 2.2.
|
||||
- When 'absent', I(instance_ids) is required.
|
||||
- When 'running', 'stopped' and 'restarted', I(instance_ids) or I(instance_tags) is required.
|
||||
default: 'present'
|
||||
choices: ['present', 'absent', 'running', 'restarted', 'stopped']
|
||||
choices: ['absent', 'present', 'restarted', 'running', 'stopped']
|
||||
type: str
|
||||
volumes:
|
||||
version_added: "1.5"
|
||||
|
|
Loading…
Reference in a new issue