Update module documentation if modules have a dep on python2.6+
This commit is contained in:
parent
6a5d073b83
commit
43687f1940
6 changed files with 17 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -78,7 +78,9 @@ options:
|
|||
default: null
|
||||
aliases: []
|
||||
|
||||
requirements: [ "libcloud" ]
|
||||
requirements:
|
||||
- "python >= 2.6"
|
||||
- "apache-libcloud"
|
||||
author: Peter Tan <ptan@google.com>
|
||||
'''
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ author: Joseph Callen
|
|||
notes:
|
||||
- Tested on vSphere 5.5
|
||||
requirements:
|
||||
- "python >= 2.6"
|
||||
- PyVmomi
|
||||
options:
|
||||
hostname:
|
||||
|
|
Loading…
Reference in a new issue