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:
|
state:
|
||||||
version_added: "1.3"
|
version_added: "1.3"
|
||||||
description:
|
description:
|
||||||
- create, terminate, start, stop or restart instances.
|
- Create, terminate, start, stop or restart instances. The state 'restarted' was added in Ansible 2.2.
|
||||||
The state 'restarted' was added in 2.2
|
- When 'absent', I(instance_ids) is required.
|
||||||
required: false
|
- When 'running', 'stopped' and 'restarted', I(instance_ids) or I(instance_tags) is required.
|
||||||
default: 'present'
|
default: 'present'
|
||||||
choices: ['present', 'absent', 'running', 'restarted', 'stopped']
|
choices: ['absent', 'present', 'restarted', 'running', 'stopped']
|
||||||
type: str
|
type: str
|
||||||
volumes:
|
volumes:
|
||||||
version_added: "1.5"
|
version_added: "1.5"
|
||||||
|
|
Loading…
Reference in a new issue