mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added docs for commonly used region parameter in some ec2 modules
This commit is contained in:
parent
638bc14566
commit
c77733e64e
1 changed files with 29 additions and 0 deletions
29
lib/ansible/utils/module_docs_fragments/ec2.py
Normal file
29
lib/ansible/utils/module_docs_fragments/ec2.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# (c) 2015, Ansible, Inc
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
# Ansible is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Ansible is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class ModuleDocFragment(object):
|
||||
|
||||
# EC2 only documentation fragment
|
||||
DOCUMENTATION = """
|
||||
options:
|
||||
region:
|
||||
description:
|
||||
- The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used. See U(http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region)
|
||||
required: false
|
||||
aliases: [ 'aws_region', 'ec2_region' ]
|
||||
"""
|
Loading…
Reference in a new issue