Add some requirements to the plugin docstrings.

This commit is contained in:
Bill Nottingham 2018-08-01 16:21:26 -04:00 committed by Brian Coca
parent 734384b91d
commit 572a2187ab
3 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,9 @@ DOCUMENTATION = '''
name: aws_ec2 name: aws_ec2
plugin_type: inventory plugin_type: inventory
short_description: ec2 inventory source short_description: ec2 inventory source
requirements:
- boto3
- botocore
extends_documentation_fragment: extends_documentation_fragment:
- inventory_cache - inventory_cache
- constructed - constructed

View file

@ -10,6 +10,8 @@ DOCUMENTATION = '''
plugin_type: inventory plugin_type: inventory
short_description: foreman inventory source short_description: foreman inventory source
version_added: "2.6" version_added: "2.6"
requirements:
- requests >= 1.1
description: description:
- Get inventory hosts from the foreman service. - Get inventory hosts from the foreman service.
- "Uses a configuration file as an inventory source, it must end in foreman.yml or foreman.yaml and has a ``plugin: foreman`` entry." - "Uses a configuration file as an inventory source, it must end in foreman.yml or foreman.yaml and has a ``plugin: foreman`` entry."

View file

@ -15,6 +15,8 @@ DOCUMENTATION = '''
- Marco Vito Moscaritolo <marco@agavee.com> - Marco Vito Moscaritolo <marco@agavee.com>
- Jesse Keating <jesse.keating@rackspace.com> - Jesse Keating <jesse.keating@rackspace.com>
short_description: OpenStack inventory source short_description: OpenStack inventory source
requirements:
- openstacksdk
description: description:
- Get inventory hosts from OpenStack clouds - Get inventory hosts from OpenStack clouds
- Uses openstack.(yml|yaml) YAML configuration file to configure the inventory plugin - Uses openstack.(yml|yaml) YAML configuration file to configure the inventory plugin