Update module documentation if modules have a dep on python2.6+

This commit is contained in:
Toshio Kuratomi 2015-05-11 10:09:56 -07:00 committed by Matt Clay
parent 6a5d073b83
commit 43687f1940
6 changed files with 17 additions and 5 deletions

View file

@ -19,9 +19,11 @@ DOCUMENTATION = """
module: cloudtrail module: cloudtrail
short_description: manage CloudTrail creation and deletion short_description: manage CloudTrail creation and deletion
description: description:
- Creates or deletes CloudTrail configuration. Ensures logging is also enabled. This module has a dependency on python-boto >= 2.21. - Creates or deletes CloudTrail configuration. Ensures logging is also enabled.
version_added: "2.0" version_added: "2.0"
author: Ted Timmons author: Ted Timmons
requirements:
- "boto >= 2.21"
options: options:
state: state:
description: description:

View file

@ -78,7 +78,9 @@ options:
default: null default: null
aliases: [] aliases: []
requirements: [ "libcloud" ] requirements:
- "python >= 2.6"
- "apache-libcloud"
author: Peter Tan <ptan@google.com> author: Peter Tan <ptan@google.com>
''' '''

View file

@ -149,7 +149,10 @@ options:
description: description:
- list of 'key=value' options to use when configuring a container. - list of 'key=value' options to use when configuring a container.
required: false required: false
requirements: ['lxc >= 1.0', 'python2-lxc >= 0.1'] requirements:
- 'lxc >= 1.0'
- 'python >= 2.6'
- 'python2-lxc >= 0.1'
notes: notes:
- Containers must have a unique name. If you attempt to create a container - Containers must have a unique name. If you attempt to create a container
with a name that already exists in the users namespace the module will with a name that already exists in the users namespace the module will

View file

@ -152,7 +152,9 @@ options:
aliases: [] aliases: []
choices: ['present', 'absent', 'shutdown', 'started', 'restarted'] choices: ['present', 'absent', 'shutdown', 'started', 'restarted']
requirements: [ "ovirt-engine-sdk" ] requirements:
- "python >= 2.6"
- "ovirt-engine-sdk-python"
''' '''
EXAMPLES = ''' EXAMPLES = '''
# Basic example provisioning from image. # Basic example provisioning from image.

View file

@ -55,7 +55,9 @@ options:
- XML document used with the define command - XML document used with the define command
required: false required: false
default: null default: null
requirements: [ "libvirt" ] requirements:
- "python >= 2.6"
- "libvirt-python"
author: Michael DeHaan, Seth Vidal author: Michael DeHaan, Seth Vidal
''' '''

View file

@ -29,6 +29,7 @@ author: Joseph Callen
notes: notes:
- Tested on vSphere 5.5 - Tested on vSphere 5.5
requirements: requirements:
- "python >= 2.6"
- PyVmomi - PyVmomi
options: options:
hostname: hostname: