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
parent 6bf4558df8
commit a589a66710
6 changed files with 17 additions and 5 deletions

View file

@ -19,9 +19,11 @@ DOCUMENTATION = """
module: cloudtrail
short_description: manage CloudTrail creation and deletion
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"
author: Ted Timmons
requirements:
- "boto >= 2.21"
options:
state:
description:

View file

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

View file

@ -149,7 +149,10 @@ options:
description:
- list of 'key=value' options to use when configuring a container.
required: false
requirements: ['lxc >= 1.0', 'python2-lxc >= 0.1']
requirements:
- 'lxc >= 1.0'
- 'python >= 2.6'
- 'python2-lxc >= 0.1'
notes:
- 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

View file

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

View file

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

View file

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