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

pull/18777/head
Toshio Kuratomi 10 years ago committed by Matt Clay
parent 6a5d073b83
commit 43687f1940

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

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

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

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

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

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

Loading…
Cancel
Save