1
0
Fork 0
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:
Takashi Sugimura 2019-05-10 07:44:53 +09:00 committed by Alicia Cozine
parent 748cfd89ab
commit 5346a5cdac

View file

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