1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix invalid fields in module DOCUMENATION (#22297)

* fix module doc fields

* More module docs corrections

* More module docs corrections

* More module docs corrections

* More module docs corrections

* correct aliases

* Review comments

* Must quote ':'

* More authors

* Use suboptions:

* restore type: bool

* type should be in the same place

* More tidyups

* authors

* Use suboptions

* revert

* remove duplicate author

* More issues post rebase
This commit is contained in:
John R Barker 2017-03-09 16:20:25 +00:00 committed by GitHub
parent 000ca2a2bc
commit e5b990a55a
138 changed files with 176 additions and 256 deletions

View file

@ -32,7 +32,7 @@ deprecated: >-
options: options:
cidr_block: cidr_block:
description: description:
- "The cidr block representing the VPC, e.g. 10.0.0.0/16, required when I(state) is 'present'." - "The cidr block representing the VPC, e.g. C(10.0.0.0/16), required when I(state=present)."
required: false required: false
instance_tenancy: instance_tenancy:
description: description:
@ -42,56 +42,61 @@ options:
choices: [ "default", "dedicated" ] choices: [ "default", "dedicated" ]
dns_support: dns_support:
description: description:
- toggles the "Enable DNS resolution" flag - Toggles the "Enable DNS resolution" flag.
required: false required: false
default: "yes" default: "yes"
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
dns_hostnames: dns_hostnames:
description: description:
- toggles the "Enable DNS hostname support for instances" flag - Toggles the "Enable DNS hostname support for instances" flag.
required: false required: false
default: "yes" default: "yes"
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
subnets: subnets:
description: description:
- 'A dictionary array of subnets to add of the form: { cidr: ..., az: ... , resource_tags: ... }. Where az is the desired availability zone of the subnet, but it is not required. Tags (i.e.: resource_tags) is also optional and use dictionary form: { "Environment":"Dev", "Tier":"Web", ...}. All VPC subnets not in this list will be removed as well. As of 1.8, if the subnets parameter is not specified, no existing subnets will be modified.' - 'A dictionary array of subnets to add of the form C({ cidr: ..., az: ... , resource_tags: ... }).'
- Where C(az) is the desired availability zone of the subnet, optional.
- 'Tags C(resource_tags) use dictionary form C({ "Environment":"Dev", "Tier":"Web", ...}), optional.'
- C(resource_tags) see resource_tags for VPC below. The main difference is subnet tags not specified here will be deleted.
- All VPC subnets not in this list will be removed as well.
- As of 1.8, if the subnets parameter is not specified, no existing subnets will be modified.'
required: false required: false
default: null default: null
resource_tags: See resource_tags for VPC below. The main difference is subnet tags not specified here will be deleted.
vpc_id: vpc_id:
description: description:
- A VPC id to terminate when state=absent - A VPC id to terminate when I(state=absent).
required: false required: false
default: null default: null
resource_tags: resource_tags:
description: description:
- 'A dictionary array of resource tags of the form: { tag1: value1, tag2: value2 }. Tags in this list are used in conjunction with CIDR block to uniquely identify a VPC in lieu of vpc_id. Therefore, if CIDR/Tag combination does not exist, a new VPC will be created. VPC tags not on this list will be ignored. Prior to 1.7, specifying a resource tag was optional.' - 'A dictionary array of resource tags of the form C({ tag1: value1, tag2: value2 }).
- Tags in this list are used in conjunction with CIDR block to uniquely identify a VPC in lieu of vpc_id. Therefore, if CIDR/Tag combination does not exist, a new VPC will be created. VPC tags not on this list will be ignored. Prior to 1.7, specifying a resource tag was optional.'
required: true required: true
version_added: "1.6" version_added: "1.6"
internet_gateway: internet_gateway:
description: description:
- Toggle whether there should be an Internet gateway attached to the VPC - Toggle whether there should be an Internet gateway attached to the VPC.
required: false required: false
default: "no" default: "no"
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
route_tables: route_tables:
description: description:
- 'A dictionary array of route tables to add of the form: { subnets: [172.22.2.0/24, 172.22.3.0/24,], routes: [{ dest: 0.0.0.0/0, gw: igw},], resource_tags: ... }. Where the subnets list is those subnets the route table should be associated with, and the routes list is a list of routes to be in the table. The special keyword for the gw of igw specifies that you should the route should go through the internet gateway attached to the VPC. gw also accepts instance-ids, interface-ids, and vpc-peering-connection-ids in addition igw. resource_tags is optional and uses dictionary form: { "Name": "public", ... }. This module is currently unable to affect the "main" route table due to some limitations in boto, so you must explicitly define the associated subnets or they will be attached to the main table implicitly. As of 1.8, if the route_tables parameter is not specified, no existing routes will be modified.' - 'A dictionary array of route tables to add of the form: C({ subnets: [172.22.2.0/24, 172.22.3.0/24,], routes: [{ dest: 0.0.0.0/0, gw: igw},], resource_tags: ... }). Where the subnets list is those subnets the route table should be associated with, and the routes list is a list of routes to be in the table. The special keyword for the gw of igw specifies that you should the route should go through the internet gateway attached to the VPC. gw also accepts instance-ids, interface-ids, and vpc-peering-connection-ids in addition igw. resource_tags is optional and uses dictionary form: C({ "Name": "public", ... }). This module is currently unable to affect the "main" route table due to some limitations in boto, so you must explicitly define the associated subnets or they will be attached to the main table implicitly. As of 1.8, if the route_tables parameter is not specified, no existing routes will be modified.'
required: false required: false
default: null default: null
wait: wait:
description: description:
- wait for the VPC to be in state 'available' before returning - Wait for the VPC to be in state 'available' before returning.
required: false required: false
default: "no" default: "no"
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
wait_timeout: wait_timeout:
description: description:
- how long before wait gives up, in seconds - How long before wait gives up, in seconds.
default: 300 default: 300
state: state:
description: description:
- Create or terminate the VPC - Create or terminate the VPC.
required: true required: true
choices: [ "present", "absent" ] choices: [ "present", "absent" ]
author: "Carson Gee (@carsongee)" author: "Carson Gee (@carsongee)"

View file

@ -104,7 +104,7 @@ author: "James S. Martin (@jsmartin)"
extends_documentation_fragment: extends_documentation_fragment:
- aws - aws
- ec2 - ec2
requires: [ botocore>=1.4.57 ] requirements: [ botocore>=1.4.57 ]
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -71,24 +71,24 @@ options:
security_group_ids: security_group_ids:
description: description:
- A list of security groups to apply to the elb - A list of security groups to apply to the elb
require: false required: false
default: None default: None
version_added: "1.6" version_added: "1.6"
security_group_names: security_group_names:
description: description:
- A list of security group names to apply to the elb - A list of security group names to apply to the elb
require: false required: false
default: None default: None
version_added: "2.0" version_added: "2.0"
health_check: health_check:
description: description:
- An associative array of health check configuration settings (see example) - An associative array of health check configuration settings (see example)
require: false required: false
default: None default: None
access_logs: access_logs:
description: description:
- An associative array of access logs configuration settings (see example) - An associative array of access logs configuration settings (see example)
require: false required: false
default: None default: None
version_added: "2.0" version_added: "2.0"
subnets: subnets:

View file

@ -118,7 +118,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- aws - aws
- ec2 - ec2
requires: requirements:
- "boto >= 2.39.0" - "boto >= 2.39.0"
""" """

View file

@ -50,12 +50,12 @@ options:
- Operation applied to the metric - Operation applied to the metric
- Works in conjunction with period and evaluation_periods to determine the comparison value - Works in conjunction with period and evaluation_periods to determine the comparison value
required: false required: false
options: ['SampleCount','Average','Sum','Minimum','Maximum'] choices: ['SampleCount','Average','Sum','Minimum','Maximum']
comparison: comparison:
description: description:
- Determines how the threshold value is compared - Determines how the threshold value is compared
required: false required: false
options: ['<=','<','>','>='] choices: ['<=','<','>','>=']
threshold: threshold:
description: description:
- Sets the min/max bound for triggering the alarm - Sets the min/max bound for triggering the alarm
@ -72,7 +72,7 @@ options:
description: description:
- The threshold's unit of measurement - The threshold's unit of measurement
required: false required: false
options: ['Seconds','Microseconds','Milliseconds','Bytes','Kilobytes','Megabytes','Gigabytes','Terabytes','Bits','Kilobits','Megabits','Gigabits','Terabits','Percent','Count','Bytes/Second','Kilobytes/Second','Megabytes/Second','Gigabytes/Second','Terabytes/Second','Bits/Second','Kilobits/Second','Megabits/Second','Gigabits/Second','Terabits/Second','Count/Second','None'] choices: ['Seconds','Microseconds','Milliseconds','Bytes','Kilobytes','Megabytes','Gigabytes','Terabytes','Bits','Kilobits','Megabits','Gigabits','Terabits','Percent','Count','Bytes/Second','Kilobytes/Second','Megabytes/Second','Gigabytes/Second','Terabytes/Second','Bits/Second','Kilobits/Second','Megabits/Second','Gigabits/Second','Terabits/Second','Count/Second','None']
description: description:
description: description:
- A longer description of the alarm - A longer description of the alarm

View file

@ -114,7 +114,6 @@ options:
tags: tags:
description: description:
- tag:value pairs to add to the volume after creation - tag:value pairs to add to the volume after creation
type: dict
required: false required: false
default: {} default: {}
version_added: "2.3" version_added: "2.3"

View file

@ -26,7 +26,7 @@ description:
- Gather facts about Network ACLs in an AWS VPC - Gather facts about Network ACLs in an AWS VPC
version_added: "2.2" version_added: "2.2"
author: "Brad Davidson (@brandond)" author: "Brad Davidson (@brandond)"
requires: [ boto3 ] requirements: [ boto3 ]
options: options:
nacl_ids: nacl_ids:
description: description:

View file

@ -27,8 +27,7 @@ description:
notes: notes:
- the service role specified must be assumable (i.e. have a trust relationship for the ecs service, ecs.amazonaws.com) - the service role specified must be assumable (i.e. have a trust relationship for the ecs service, ecs.amazonaws.com)
- for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html) - for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html)
dependencies: - An IAM role must have been previously created
- An IAM role must have been created
version_added: "2.1" version_added: "2.1"
author: author:
- "Mark Chance (@java1guy)" - "Mark Chance (@java1guy)"

View file

@ -45,12 +45,10 @@ options:
description: description:
- A revision number for the task definition - A revision number for the task definition
required: False required: False
type: int
containers: containers:
description: description:
- A list of containers definitions - A list of containers definitions
required: False required: False
type: list of dicts with container definitions
network_mode: network_mode:
description: description:
- The Docker networking mode to use for the containers in the task. - The Docker networking mode to use for the containers in the task.
@ -67,7 +65,6 @@ options:
description: description:
- A list of names of volumes to be attached - A list of names of volumes to be attached
required: False required: False
type: list of name
extends_documentation_fragment: extends_documentation_fragment:
- aws - aws
- ec2 - ec2

View file

@ -33,12 +33,10 @@ options:
- The name of the cache parameter group family that the cache parameter group can be used with. - The name of the cache parameter group family that the cache parameter group can be used with.
choices: ['memcached1.4', 'redis2.6', 'redis2.8', 'redis3.2'] choices: ['memcached1.4', 'redis2.6', 'redis2.8', 'redis3.2']
required: yes required: yes
type: string
name: name:
description: description:
- A user-specified name for the cache parameter group. - A user-specified name for the cache parameter group.
required: yes required: yes
type: string
description: description:
description: description:
- A user-specified description for the cache parameter group. - A user-specified description for the cache parameter group.
@ -51,7 +49,6 @@ options:
description: description:
- A user-specified list of parameters to reset or modify for the cache parameter group. - A user-specified list of parameters to reset or modify for the cache parameter group.
required: no required: no
type: dict
default: None default: None
""" """

View file

@ -31,7 +31,6 @@ options:
name: name:
description: description:
- The name of the snapshot we want to create, copy, delete - The name of the snapshot we want to create, copy, delete
type: string
required: yes required: yes
state: state:
description: description:
@ -40,25 +39,21 @@ options:
replication_id: replication_id:
description: description:
- The name of the existing replication group to make the snapshot. - The name of the existing replication group to make the snapshot.
type: string
required: no required: no
default: null default: null
cluster_id: cluster_id:
description: description:
- The name of an existing cache cluster in the replication group to make the snapshot. - The name of an existing cache cluster in the replication group to make the snapshot.
type: string
required: no required: no
default: null default: null
target: target:
description: description:
- The name of a snapshot copy - The name of a snapshot copy
type: string
required: no required: no
default: null default: null
bucket: bucket:
description: description:
- The s3 bucket to which the snapshot is exported - The s3 bucket to which the snapshot is exported
type: string
required: no required: no
default: null default: null
""" """

View file

@ -62,10 +62,8 @@ options:
choices: [ '', private, public-read, public-read-write, authenticated-read, aws-exec-read, bucket-owner-read, bucket-owner-full-control ] choices: [ '', private, public-read, public-read-write, authenticated-read, aws-exec-read, bucket-owner-read, bucket-owner-full-control ]
mime_map: mime_map:
description: description:
- Dict entry from extension to MIME type. This will override any default/sniffed MIME type. - 'Dict entry from extension to MIME type. This will override any default/sniffed MIME type. For example C({".txt": "application/text", ".yml": "appication/text"})'
type: dict
required: false required: false
sample: {".txt": "application/text", ".yml": "appication/text"}
include: include:
description: description:
- Shell pattern-style file matching. - Shell pattern-style file matching.

View file

@ -137,7 +137,6 @@ options:
- When a default security group is created for a Linux host a rule will be added allowing inbound TCP - When a default security group is created for a Linux host a rule will be added allowing inbound TCP
connections to the default SSH port 22, and for a Windows host rules will be added allowing inbound connections to the default SSH port 22, and for a Windows host rules will be added allowing inbound
access to RDP ports 3389 and 5986. Override the default ports by providing a list of open ports. access to RDP ports 3389 and 5986. Override the default ports by providing a list of open ports.
type: list
required: false required: false
default: null default: null
extends_documentation_fragment: extends_documentation_fragment:

View file

@ -69,10 +69,9 @@ options:
rules: rules:
description: description:
- Set of rules shaping traffic flow to or from a subnet or NIC. Each rule is a dictionary. - Set of rules shaping traffic flow to or from a subnet or NIC. Each rule is a dictionary.
type: complex
required: false required: false
default: null default: null
contains: suboptions:
name: name:
description: Unique name for the rule. description: Unique name for the rule.
required: true required: true

View file

@ -54,7 +54,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- azure - azure
authors: author:
- "Chris Houseknecht house@redhat.com" - "Chris Houseknecht house@redhat.com"
- "Matt Davis mdavis@redhat.com" - "Matt Davis mdavis@redhat.com"

View file

@ -49,7 +49,6 @@ options:
description: description:
- List of VMs to assign to or remove from the rule. - List of VMs to assign to or remove from the rule.
required: true required: true
type: list
aliases: [ 'vm' ] aliases: [ 'vm' ]
state: state:
description: description:

View file

@ -25,6 +25,7 @@ module: digital_ocean_tag
short_description: Create and remove tag(s) to DigitalOcean resource. short_description: Create and remove tag(s) to DigitalOcean resource.
description: description:
- Create and remove tag(s) to DigitalOcean resource. - Create and remove tag(s) to DigitalOcean resource.
author: "Victor Volle (@kontrafiktion)"
version_added: "2.2" version_added: "2.2"
options: options:
name: name:

View file

@ -185,7 +185,7 @@ options:
kill_signal: kill_signal:
description: description:
- Override default signal used to kill a running container. - Override default signal used to kill a running container.
default null: default: null
required: false required: false
kernel_memory: kernel_memory:
description: description:

View file

@ -134,7 +134,6 @@ options:
- Provide a dictionary of C(key:value) build arguments that map to Dockerfile ARG directive. - Provide a dictionary of C(key:value) build arguments that map to Dockerfile ARG directive.
- Docker expects the value to be a string. For convenience any non-string values will be converted to strings. - Docker expects the value to be a string. For convenience any non-string values will be converted to strings.
- Requires Docker API >= 1.21 and docker-py >= 1.7.0. - Requires Docker API >= 1.21 and docker-py >= 1.7.0.
type: complex
required: false required: false
version_added: "2.2" version_added: "2.2"
container_limits: container_limits:
@ -142,20 +141,15 @@ options:
- A dictionary of limits applied to each container created by the build process. - A dictionary of limits applied to each container created by the build process.
required: false required: false
version_added: "2.1" version_added: "2.1"
type: complex suboptions:
contains:
memory: memory:
description: Set memory limit for build description: Set memory limit for build
type: int
memswap: memswap:
description: Total memory (memory + swap), -1 to disable swap description: Total memory (memory + swap), -1 to disable swap
type: int
cpushares: cpushares:
description: CPU shares (relative weight) description: CPU shares (relative weight)
type: int
cpusetcpus: cpusetcpus:
description: CPUs in which to allow execution, e.g., "0-3", "0,1" description: CPUs in which to allow execution, e.g., "0-3", "0,1"
type: str
use_tls: use_tls:
description: description:
- "DEPRECATED. Whether to use tls to connect to the docker server. Set to C(no) when TLS will not be used. Set to - "DEPRECATED. Whether to use tls to connect to the docker server. Set to C(no) when TLS will not be used. Set to
@ -177,7 +171,7 @@ requirements:
- "docker-py >= 1.7.0" - "docker-py >= 1.7.0"
- "Docker API >= 1.20" - "Docker API >= 1.20"
authors: author:
- Pavel Antonov (@softzilla) - Pavel Antonov (@softzilla)
- Chris Houseknecht (@chouseknecht) - Chris Houseknecht (@chouseknecht)
- James Tanner (@jctanner) - James Tanner (@jctanner)

View file

@ -48,7 +48,7 @@ requirements:
- "docker-py >= 1.7.0" - "docker-py >= 1.7.0"
- "Docker API >= 1.20" - "Docker API >= 1.20"
authors: author:
- Chris Houseknecht (@chouseknecht) - Chris Houseknecht (@chouseknecht)
- James Tanner (@jctanner) - James Tanner (@jctanner)

View file

@ -93,7 +93,7 @@ requirements:
- "docker-py >= 1.7.0" - "docker-py >= 1.7.0"
- "Docker API >= 1.20" - "Docker API >= 1.20"
- 'Only to be able to logout (state=absent): the docker command line utility' - 'Only to be able to logout (state=absent): the docker command line utility'
authors: author:
- "Olaf Kilian <olaf.kilian@symanex.com>" - "Olaf Kilian <olaf.kilian@symanex.com>"
- "Chris Houseknecht (@chouseknecht)" - "Chris Houseknecht (@chouseknecht)"
- "James Tanner (@jctanner)" - "James Tanner (@jctanner)"

View file

@ -100,7 +100,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- docker - docker
authors: author:
- "Ben Keith (@keitwb)" - "Ben Keith (@keitwb)"
- "Chris Houseknecht (@chouseknecht)" - "Chris Houseknecht (@chouseknecht)"

View file

@ -44,19 +44,16 @@ options:
- Path to a directory containing a docker-compose.yml or docker-compose.yaml file. - Path to a directory containing a docker-compose.yml or docker-compose.yaml file.
- Mutually exclusive with C(definition). - Mutually exclusive with C(definition).
- Required when no C(definition) is provided. - Required when no C(definition) is provided.
type: path
required: false required: false
project_name: project_name:
description: description:
- Provide a project name. If not provided, the project name is taken from the basename of C(project_src). - Provide a project name. If not provided, the project name is taken from the basename of C(project_src).
- Required when no C(definition) is provided. - Required when no C(definition) is provided.
type: str
required: false required: false
files: files:
description: description:
- List of file names relative to C(project_src). Overrides docker-compose.yml or docker-compose.yaml. - List of file names relative to C(project_src). Overrides docker-compose.yml or docker-compose.yaml.
- Files are loaded and merged in the order given. - Files are loaded and merged in the order given.
type: list
required: false required: false
state: state:
description: description:
@ -67,18 +64,15 @@ options:
- absent - absent
- present - present
default: present default: present
type: str
required: false required: false
services: services:
description: description:
- When C(state) is I(present) run I(docker-compose up) on a subset of services. - When C(state) is I(present) run I(docker-compose up) on a subset of services.
type: list
required: false required: false
scale: scale:
description: description:
- When C(state) is I(present) scale services. Provide a dictionary of key/value pairs where the key - When C(state) is I(present) scale services. Provide a dictionary of key/value pairs where the key
is the name of the service and the value is an integer count for the number of containers. is the name of the service and the value is an integer count for the number of containers.
type: complex
required: false required: false
dependencies: dependencies:
description: description:
@ -90,7 +84,6 @@ options:
description: description:
- Provide docker-compose yaml describing one or more services, networks and volumes. - Provide docker-compose yaml describing one or more services, networks and volumes.
- Mutually exclusive with C(project_src) and C(files). - Mutually exclusive with C(project_src) and C(files).
type: complex
required: false required: false
hostname_check: hostname_check:
description: description:
@ -103,7 +96,6 @@ options:
- By default containers will be recreated when their configuration differs from the service definition. - By default containers will be recreated when their configuration differs from the service definition.
- Setting to I(never) ignores configuration differences and leaves existing containers unchanged. - Setting to I(never) ignores configuration differences and leaves existing containers unchanged.
- Setting to I(always) forces recreation of all existing containers. - Setting to I(always) forces recreation of all existing containers.
type: str
required: false required: false
choices: choices:
- always - always
@ -139,7 +131,6 @@ options:
remove_images: remove_images:
description: description:
- Use with state I(absent) to remove the all images or only local images. - Use with state I(absent) to remove the all images or only local images.
type: str
required: false required: false
default: null default: null
remove_volumes: remove_volumes:

View file

@ -40,19 +40,16 @@ options:
- Name to give the instance (alphanumeric, dashes, underscore) - Name to give the instance (alphanumeric, dashes, underscore)
- To keep sanity on the Linode Web Console, name is prepended with LinodeID_ - To keep sanity on the Linode Web Console, name is prepended with LinodeID_
default: null default: null
type: string
displaygroup: displaygroup:
description: description:
- Add the instance to a Display Group in Linode Manager - Add the instance to a Display Group in Linode Manager
default: null default: null
type: string
version_added: "2.3" version_added: "2.3"
linode_id: linode_id:
description: description:
- Unique ID of a linode server - Unique ID of a linode server
aliases: [ 'lid' ] aliases: [ 'lid' ]
default: null default: null
type: integer
additional_disks: additional_disks:
description: > description: >
List of dictionaries for creating additional disks that are added to the Linode configuration settings. List of dictionaries for creating additional disks that are added to the Linode configuration settings.
@ -69,7 +66,6 @@ options:
description: description:
- Set threshold in MB of bandwidth in alerts. - Set threshold in MB of bandwidth in alerts.
default: null default: null
type: integer
version_added: "2.3" version_added: "2.3"
alert_bwout_enabled: alert_bwout_enabled:
description: description:
@ -81,7 +77,6 @@ options:
description: description:
- Set threshold in MB of bandwidth out alerts. - Set threshold in MB of bandwidth out alerts.
default: null default: null
type: integer
version_added: "2.3" version_added: "2.3"
alert_bwquota_enabled: alert_bwquota_enabled:
description: description:
@ -93,7 +88,6 @@ options:
description: description:
- Set threshold in MB of bandwidth quota alerts. - Set threshold in MB of bandwidth quota alerts.
default: null default: null
type: integer
version_added: "2.3" version_added: "2.3"
alert_cpu_enabled: alert_cpu_enabled:
description: description:
@ -105,7 +99,6 @@ options:
description: description:
- Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total. - Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total.
default: null default: null
type: integer
version_added: "2.3" version_added: "2.3"
alert_diskio_enabled: alert_diskio_enabled:
description: description:
@ -117,30 +110,25 @@ options:
description: description:
- Set threshold for average IO ops/sec over 2 hour period. - Set threshold for average IO ops/sec over 2 hour period.
default: null default: null
type: integer
version_added: "2.3" version_added: "2.3"
backupweeklyday: backupweeklyday:
description: description:
- Integer value for what day of the week to store weekly backups. - Integer value for what day of the week to store weekly backups.
default: null default: null
type: integer
version_added: "2.3" version_added: "2.3"
plan: plan:
description: description:
- plan to use for the instance (Linode plan) - plan to use for the instance (Linode plan)
default: null default: null
type: integer
payment_term: payment_term:
description: description:
- payment term to use for the instance (payment term in months) - payment term to use for the instance (payment term in months)
default: 1 default: 1
type: integer
choices: [1, 12, 24] choices: [1, 12, 24]
password: password:
description: description:
- root password to apply to a new server (auto generated if missing) - root password to apply to a new server (auto generated if missing)
default: null default: null
type: string
private_ip: private_ip:
description: description:
- Add private IPv4 address when Linode is created. - Add private IPv4 address when Linode is created.
@ -151,22 +139,18 @@ options:
description: description:
- SSH public key applied to root user - SSH public key applied to root user
default: null default: null
type: string
swap: swap:
description: description:
- swap size in MB - swap size in MB
default: 512 default: 512
type: integer
distribution: distribution:
description: description:
- distribution to use for the instance (Linode Distribution) - distribution to use for the instance (Linode Distribution)
default: null default: null
type: integer
datacenter: datacenter:
description: description:
- datacenter to create an instance in (Linode Datacenter) - datacenter to create an instance in (Linode Datacenter)
default: null default: null
type: integer
wait: wait:
description: description:
- wait for the instance to be in state 'running' before returning - wait for the instance to be in state 'running' before returning

View file

@ -53,7 +53,7 @@ options:
- enable / disable https certificate verification - enable / disable https certificate verification
default: false default: false
required: false required: false
type: boolean type: bool
node: node:
description: description:
- Proxmox VE node, when new VM will be created - Proxmox VE node, when new VM will be created
@ -108,59 +108,50 @@ options:
required: false required: false
netif: netif:
description: description:
- specifies network interfaces for the container - specifies network interfaces for the container. As a hash/dictionary defining interfaces.
default: null default: null
required: false required: false
type: A hash/dictionary defining interfaces
mounts: mounts:
description: description:
- specifies additional mounts (separate disks) for the container - specifies additional mounts (separate disks) for the container. As a hash/dictionary defining mount points
default: null default: null
required: false required: false
type: A hash/dictionary defining mount points
version_added: "2.2" version_added: "2.2"
ip_address: ip_address:
description: description:
- specifies the address the container will be assigned - specifies the address the container will be assigned
default: null default: null
required: false required: false
type: string
onboot: onboot:
description: description:
- specifies whether a VM will be started during system bootup - specifies whether a VM will be started during system bootup
default: false default: false
required: false required: false
type: boolean
storage: storage:
description: description:
- target storage - target storage
default: 'local' default: 'local'
required: false required: false
type: string
cpuunits: cpuunits:
description: description:
- CPU weight for a VM - CPU weight for a VM
default: 1000 default: 1000
required: false required: false
type: integer
nameserver: nameserver:
description: description:
- sets DNS server IP address for a container - sets DNS server IP address for a container
default: null default: null
required: false required: false
type: string
searchdomain: searchdomain:
description: description:
- sets DNS search domain for a container - sets DNS search domain for a container
default: null default: null
required: false required: false
type: string
timeout: timeout:
description: description:
- timeout for operations - timeout for operations
default: 30 default: 30
required: false required: false
type: integer
force: force:
description: description:
- forcing operations - forcing operations
@ -169,7 +160,7 @@ options:
- with states C(stopped) , C(restarted) allow to force stop instance - with states C(stopped) , C(restarted) allow to force stop instance
default: false default: false
required: false required: false
type: boolean type: bool
state: state:
description: description:
- Indicate desired state of the instance - Indicate desired state of the instance

View file

@ -491,8 +491,6 @@ options:
- Creates a virtual hardware watchdog device. - Creates a virtual hardware watchdog device.
required: false required: false
default: null default: null
Notes:
- Requires proxmoxer and requests modules on host. This modules can be installed with pip.
requirements: [ "proxmoxer", "requests" ] requirements: [ "proxmoxer", "requests" ]
''' '''

View file

@ -45,7 +45,7 @@ options:
- enable / disable https certificate verification - enable / disable https certificate verification
default: false default: false
required: false required: false
type: boolean type: bool
node: node:
description: description:
- Proxmox VE node, when you will operate with template - Proxmox VE node, when you will operate with template
@ -76,19 +76,17 @@ options:
- target storage - target storage
default: 'local' default: 'local'
required: false required: false
type: string
timeout: timeout:
description: description:
- timeout for operations - timeout for operations
default: 30 default: 30
required: false required: false
type: integer
force: force:
description: description:
- can be used only with C(state=present), exists template will be overwritten - can be used only with C(state=present), exists template will be overwritten
default: false default: false
required: false required: false
type: boolean type: bool
state: state:
description: description:
- Indicate desired state of the template - Indicate desired state of the template

View file

@ -59,7 +59,7 @@ options:
description: description:
- libvirt connection uri - libvirt connection uri
required: false required: false
defaults: qemu:///system default: qemu:///system
xml: xml:
description: description:
- XML document used with the define command - XML document used with the define command

View file

@ -23,6 +23,7 @@ ANSIBLE_METADATA = {'status': ['deprecated'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: glance_image module: glance_image
author: "Benno Joy (@bennojoy)"
version_added: "1.2" version_added: "1.2"
deprecated: Deprecated in 1.10. Use M(os_image) instead. deprecated: Deprecated in 1.10. Use M(os_image) instead.
short_description: Add/Delete images from glance short_description: Add/Delete images from glance

View file

@ -25,6 +25,7 @@ DOCUMENTATION = '''
--- ---
module: nova_compute module: nova_compute
version_added: "1.2" version_added: "1.2"
author: "Benno Joy (@bennojoy)"
deprecated: Deprecated in 2.0. Use M(os_server) instead. deprecated: Deprecated in 2.0. Use M(os_server) instead.
short_description: Create/Delete VMs from OpenStack short_description: Create/Delete VMs from OpenStack
description: description:

View file

@ -24,6 +24,7 @@ DOCUMENTATION = '''
--- ---
module: quantum_network module: quantum_network
version_added: "1.4" version_added: "1.4"
author: "Benno Joy (@bennojoy)"
deprecated: Deprecated in 2.0. Use M(os_network) instead. deprecated: Deprecated in 2.0. Use M(os_network) instead.
short_description: Creates/Removes networks from OpenStack short_description: Creates/Removes networks from OpenStack
description: description:

View file

@ -23,6 +23,7 @@ ANSIBLE_METADATA = {'status': ['deprecated'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: quantum_subnet module: quantum_subnet
author: "Benno Joy (@bennojoy)"
deprecated: Deprecated in 2.0. Use M(os_subnet) instead. deprecated: Deprecated in 2.0. Use M(os_subnet) instead.
version_added: "1.2" version_added: "1.2"
short_description: Add/remove subnet from a network short_description: Add/remove subnet from a network

View file

@ -23,6 +23,7 @@ DOCUMENTATION = '''
--- ---
module: os_floating_ip module: os_floating_ip
version_added: "2.0" version_added: "2.0"
author: "Davide Guerri <davide.guerri@hp.com>"
short_description: Add/Remove floating IP from an instance short_description: Add/Remove floating IP from an instance
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
description: description:

View file

@ -25,6 +25,7 @@ DOCUMENTATION = '''
--- ---
module: os_keypair module: os_keypair
short_description: Add/Delete a keypair from OpenStack short_description: Add/Delete a keypair from OpenStack
author: "Benno Joy (@bennojoy)"
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
version_added: "2.0" version_added: "2.0"
description: description:

View file

@ -22,6 +22,9 @@ DOCUMENTATION = '''
--- ---
module: os_keystone_domain module: os_keystone_domain
short_description: Manage OpenStack Identity Domains short_description: Manage OpenStack Identity Domains
author:
- Monty
- Haneef Ali
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
version_added: "2.1" version_added: "2.1"
description: description:

View file

@ -52,13 +52,11 @@ options:
description: description:
- Unique name or ID of the external gateway network. - Unique name or ID of the external gateway network.
- required I(interfaces) or I(enable_snat) are provided. - required I(interfaces) or I(enable_snat) are provided.
type: string
required: false required: false
default: None default: None
project: project:
description: description:
- Unique name or ID of the project. - Unique name or ID of the project.
type: string
required: false required: false
default: None default: None
version_added: "2.2" version_added: "2.2"

View file

@ -24,6 +24,7 @@ DOCUMENTATION = '''
--- ---
module: os_security_group_rule module: os_security_group_rule
short_description: Add/Delete rule from an existing security group short_description: Add/Delete rule from an existing security group
author: "Benno Joy (@bennojoy)"
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
version_added: "2.0" version_added: "2.0"
description: description:

View file

@ -23,6 +23,7 @@ DOCUMENTATION = '''
--- ---
module: os_server_facts module: os_server_facts
short_description: Retrieve facts about one or more compute instances short_description: Retrieve facts about one or more compute instances
author: Monty
version_added: "2.0" version_added: "2.0"
description: description:
- Retrieve facts about server instances from OpenStack. - Retrieve facts about server instances from OpenStack.

View file

@ -23,6 +23,7 @@ DOCUMENTATION = '''
module: os_user module: os_user
short_description: Manage OpenStack Identity Users short_description: Manage OpenStack Identity Users
extends_documentation_fragment: openstack extends_documentation_fragment: openstack
author: David Shrewsbury
version_added: "2.0" version_added: "2.0"
description: description:
- Manage OpenStack Identity users. Users can be created, - Manage OpenStack Identity users. Users can be created,

View file

@ -76,11 +76,10 @@ options:
- The consumer key to use - The consumer key to use
timeout: timeout:
required: false required: false
type: "int"
default: 120 default: 120
description: description:
- The timeout in seconds used to wait for a task to be - The timeout in seconds used to wait for a task to be
completed. Default is 120 seconds. completed.
''' '''

View file

@ -27,6 +27,7 @@ DOCUMENTATION = '''
--- ---
module: ovirt_external_providers_facts module: ovirt_external_providers_facts
short_description: Retrieve facts about one or more oVirt external providers short_description: Retrieve facts about one or more oVirt external providers
author: "Ondra Machacek (@machacekondra)"
version_added: "2.3" version_added: "2.3"
description: description:
- "Retrieve facts about one or more oVirt external providers." - "Retrieve facts about one or more oVirt external providers."

View file

@ -28,6 +28,7 @@ DOCUMENTATION = '''
module: ovirt_quotas_facts module: ovirt_quotas_facts
short_description: Retrieve facts about one or more oVirt quotas short_description: Retrieve facts about one or more oVirt quotas
version_added: "2.3" version_added: "2.3"
author: "Red Hat"
description: description:
- "Retrieve facts about one or more oVirt quotas." - "Retrieve facts about one or more oVirt quotas."
notes: notes:

View file

@ -43,17 +43,14 @@ options:
balancer balancer
load_balancer_id: load_balancer_id:
required: true required: true
type: integer
description: description:
- Load balancer id - Load balancer id
node_id: node_id:
required: false required: false
type: integer
description: description:
- Node id - Node id
port: port:
required: false required: false
type: integer
description: description:
- Port number of the load balanced service on the node - Port number of the load balanced service on the node
state: state:
@ -81,7 +78,6 @@ options:
- Wait for the load balancer to become active before returning - Wait for the load balancer to become active before returning
wait_timeout: wait_timeout:
required: false required: false
type: integer
default: 30 default: 30
description: description:
- How long to wait before giving up and returning an error - How long to wait before giving up and returning an error

View file

@ -39,46 +39,37 @@ options:
- The command you would like to perform against the cluster. - The command you would like to perform against the cluster.
required: false required: false
default: null default: null
aliases: []
choices: ['ping', 'kv_test', 'join', 'plan', 'commit'] choices: ['ping', 'kv_test', 'join', 'plan', 'commit']
config_dir: config_dir:
description: description:
- The path to the riak configuration directory - The path to the riak configuration directory
required: false required: false
default: /etc/riak default: /etc/riak
aliases: []
http_conn: http_conn:
description: description:
- The ip address and port that is listening for Riak HTTP queries - The ip address and port that is listening for Riak HTTP queries
required: false required: false
default: 127.0.0.1:8098 default: 127.0.0.1:8098
aliases: []
target_node: target_node:
description: description:
- The target node for certain operations (join, ping) - The target node for certain operations (join, ping)
required: false required: false
default: riak@127.0.0.1 default: riak@127.0.0.1
aliases: []
wait_for_handoffs: wait_for_handoffs:
description: description:
- Number of seconds to wait for handoffs to complete. - Number of seconds to wait for handoffs to complete.
required: false required: false
default: null default: null
aliases: []
type: 'int'
wait_for_ring: wait_for_ring:
description: description:
- Number of seconds to wait for all nodes to agree on the ring. - Number of seconds to wait for all nodes to agree on the ring.
required: false required: false
default: null default: null
aliases: []
type: 'int'
wait_for_service: wait_for_service:
description: description:
- Waits for a riak service to come online before continuing. - Waits for a riak service to come online before continuing.
required: false required: false
default: None default: None
aliases: []
choices: ['kv'] choices: ['kv']
validate_certs: validate_certs:
description: description:

View file

@ -98,7 +98,6 @@ options:
- "This param requires pymongo 2.5+. If it is a string, mongodb 2.4+ is also required. If it is a dictionary, mongo 2.6+ is required." - "This param requires pymongo 2.5+. If it is a string, mongodb 2.4+ is also required. If it is a dictionary, mongo 2.6+ is required."
required: false required: false
default: "readWrite" default: "readWrite"
state:
state: state:
description: description:
- The database user state - The database user state

View file

@ -67,7 +67,6 @@ options:
that will be stripped from each file name found in the patch file. that will be stripped from each file name found in the patch file.
For more information see the strip parameter of the GNU patch tool. For more information see the strip parameter of the GNU patch tool.
required: false required: false
type: "int"
default: "0" default: "0"
backup: backup:
version_added: "2.0" version_added: "2.0"
@ -83,9 +82,8 @@ options:
line endings into LF. Line endings of src and dest must match. If set to line endings into LF. Line endings of src and dest must match. If set to
C(no), patch will replace CRLF in src files on POSIX. C(no), patch will replace CRLF in src files on POSIX.
required: false required: false
type: "bool"
default: "no" default: "no"
note: notes:
- This module requires GNU I(patch) utility to be installed on the remote host. - This module requires GNU I(patch) utility to be installed on the remote host.
''' '''

View file

@ -33,7 +33,7 @@ options:
description: description:
- "The name of the component being deployed. Ex: billing" - "The name of the component being deployed. Ex: billing"
required: true required: true
alias: name aliases: ['name']
version: version:
description: description:
- The deployment version. - The deployment version.
@ -52,7 +52,7 @@ options:
- Name of affected host name. Can be a list. - Name of affected host name. Can be a list.
required: false required: false
default: machine's hostname default: machine's hostname
alias: host aliases: ['host']
env: env:
description: description:
- The environment name, typically 'production', 'staging', etc. - The environment name, typically 'production', 'staging', etc.

View file

@ -26,6 +26,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: bigmon_chain module: bigmon_chain
author: "Ted (@tedelhourani)"
short_description: Create and remove a bigmon inline service chain. short_description: Create and remove a bigmon inline service chain.
description: description:
- Create and remove a bigmon inline service chain. - Create and remove a bigmon inline service chain.

View file

@ -26,6 +26,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: bigmon_policy module: bigmon_policy
author: "Ted (@tedelhourani)"
short_description: Create and remove a bigmon out-of-band policy. short_description: Create and remove a bigmon out-of-band policy.
description: description:
- Create and remove a bigmon out-of-band policy. - Create and remove a bigmon out-of-band policy.

View file

@ -35,32 +35,28 @@ options:
link: link:
description: description:
- Link interface name. - Link interface name.
type: str
required: true required: true
aliases: [ "nic", "interface" ] aliases: [ "nic", "interface" ]
property: property:
description: description:
- Specifies the name of the property we want to manage. - Specifies the name of the property we want to manage.
type: str
required: true required: true
aliases: [ "name" ] aliases: [ "name" ]
value: value:
description: description:
- Specifies the value we want to set for the link property. - Specifies the value we want to set for the link property.
type: str
required: false required: false
temporary: temporary:
description: description:
- Specifies that lin property configuration is temporary. Temporary - Specifies that lin property configuration is temporary. Temporary
link property configuration does not persist across reboots. link property configuration does not persist across reboots.
required: false required: false
type: boolean type: bool
default: false default: false
state: state:
description: description:
- Set or reset the property value. - Set or reset the property value.
required: false required: false
type: str
default: "present" default: "present"
choices: [ "present", "absent", "reset" ] choices: [ "present", "absent", "reset" ]
''' '''

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_backup module: cnos_backup
author: "Dave Kasberg (@dkasberg)"
short_description: Backup the current running or startup configuration to a remote server on devices running Lenovo CNOS short_description: Backup the current running or startup configuration to a remote server on devices running Lenovo CNOS
description: description:
- This module allows you to work with switch configurations. It provides a - This module allows you to work with switch configurations. It provides a

View file

@ -28,6 +28,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_bgp module: cnos_bgp
author: "Dave Kasberg (@dkasberg)"
short_description: Manage BGP resources and attributes on devices running Lenovo CNOS short_description: Manage BGP resources and attributes on devices running Lenovo CNOS
description: description:
- This module allows you to work with Border Gateway Protocol (BGP) related configurations. - This module allows you to work with Border Gateway Protocol (BGP) related configurations.

View file

@ -30,6 +30,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_command module: cnos_command
author: "Dave Kasberg (@dkasberg)"
short_description: Execute a single command on devices running Lenovo CNOS short_description: Execute a single command on devices running Lenovo CNOS
description: description:
- This module allows you to modify the switch running configuration. It provides a way to - This module allows you to modify the switch running configuration. It provides a way to

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_conditional_command module: cnos_conditional_command
author: "Dave Kasberg (@dkasberg)"
short_description: Execute a single command based on condition on devices running Lenovo CNOS short_description: Execute a single command based on condition on devices running Lenovo CNOS
description: description:
- This module allows you to modify the running configuration of a switch. It provides a way to - This module allows you to modify the running configuration of a switch. It provides a way to

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_conditional_template module: cnos_conditional_template
author: "Dave Kasberg (@dkasberg)"
short_description: Manage switch configuration using templates based on condition on devices running Lenovo CNOS short_description: Manage switch configuration using templates based on condition on devices running Lenovo CNOS
description: description:
- This module allows you to work with the running configuration of a switch. It provides a way to - This module allows you to work with the running configuration of a switch. It provides a way to

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_factory module: cnos_factory
author: "Dave Kasberg (@dkasberg)"
short_description: Reset the switch's startup configuration to default (factory) on devices running Lenovo CNOS short_description: Reset the switch's startup configuration to default (factory) on devices running Lenovo CNOS
description: description:
- This module allows you to reset a switchs startup configuration. The method provides a way to reset the - This module allows you to reset a switchs startup configuration. The method provides a way to reset the

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_facts module: cnos_facts
author: "Dave Kasberg (@dkasberg)"
short_description: Collect facts on devices running Lenovo CNOS short_description: Collect facts on devices running Lenovo CNOS
description: description:
- This module allows you to view the switch information. It executes the show sysinfo CLI command on a switch - This module allows you to view the switch information. It executes the show sysinfo CLI command on a switch

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_image module: cnos_image
author: "Dave Kasberg (@dkasberg)"
short_description: Perform firmware upgrade/download from a remote server on devices running Lenovo CNOS short_description: Perform firmware upgrade/download from a remote server on devices running Lenovo CNOS
description: description:
- This module allows you to work with switch firmware images. It provides a way to download a firmware image - This module allows you to work with switch firmware images. It provides a way to download a firmware image

View file

@ -28,6 +28,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_interface module: cnos_interface
author: "Dave Kasberg (@dkasberg)"
short_description: Manage interface configuration on devices running Lenovo CNOS short_description: Manage interface configuration on devices running Lenovo CNOS
description: description:
- This module allows you to work with interface related configurations. The operators used are - This module allows you to work with interface related configurations. The operators used are

View file

@ -28,6 +28,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_portchannel module: cnos_portchannel
author: "Dave Kasberg (@dkasberg)"
short_description: Manage portchannel (port aggregation) configuration on devices running Lenovo CNOS short_description: Manage portchannel (port aggregation) configuration on devices running Lenovo CNOS
description: description:
- This module allows you to work with port aggregation related configurations. The operators - This module allows you to work with port aggregation related configurations. The operators

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_reload module: cnos_reload
author: "Dave Kasberg (@dkasberg)"
short_description: Perform switch restart on devices running Lenovo CNOS short_description: Perform switch restart on devices running Lenovo CNOS
description: description:
- This module allows you to restart the switch using the current startup configuration. - This module allows you to restart the switch using the current startup configuration.

View file

@ -30,6 +30,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_rollback module: cnos_rollback
author: "Dave Kasberg (@dkasberg)"
short_description: Roll back the running or startup configuration from a remote server on devices running Lenovo CNOS short_description: Roll back the running or startup configuration from a remote server on devices running Lenovo CNOS
description: description:
- This module allows you to work with switch configurations. It provides a way to roll back configurations - This module allows you to work with switch configurations. It provides a way to roll back configurations

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_save module: cnos_save
author: "Dave Kasberg (@dkasberg)"
short_description: Save the running configuration as the startup configuration on devices running Lenovo CNOS short_description: Save the running configuration as the startup configuration on devices running Lenovo CNOS
description: description:
- This module allows you to copy the running configuration of a switch over its startup configuration. - This module allows you to copy the running configuration of a switch over its startup configuration.

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_showrun module: cnos_showrun
author: "Dave Kasberg (@dkasberg)"
short_description: Collect the current running configuration on devices running Lenovo CNOS short_description: Collect the current running configuration on devices running Lenovo CNOS
description: description:
- This module allows you to view the switch running configuration. It executes the display running-config CLI - This module allows you to view the switch running configuration. It executes the display running-config CLI

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_template module: cnos_template
author: "Dave Kasberg (@dkasberg)"
short_description: Manage switch configuration using templates on devices running Lenovo CNOS short_description: Manage switch configuration using templates on devices running Lenovo CNOS
description: description:
- This module allows you to work with the running configuration of a switch. It provides a way - This module allows you to work with the running configuration of a switch. It provides a way

View file

@ -29,6 +29,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_vlag module: cnos_vlag
author: "Dave Kasberg (@dkasberg)"
short_description: Manage VLAG resources and attributes on devices running Lenovo CNOS short_description: Manage VLAG resources and attributes on devices running Lenovo CNOS
description: description:
- This module allows you to work with virtual Link Aggregation Groups - This module allows you to work with virtual Link Aggregation Groups

View file

@ -30,6 +30,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: cnos_vlan module: cnos_vlan
author: "Dave Kasberg (@dkasberg)"
short_description: Manage VLAN resources and attributes on devices running Lenovo CNOS short_description: Manage VLAN resources and attributes on devices running Lenovo CNOS
description: description:
- This module allows you to work with VLAN related configurations. The - This module allows you to work with VLAN related configurations. The

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_cluster module: pn_cluster
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to create/delete a cluster. short_description: CLI command to create/delete a cluster.
description: description:
- Execute cluster-create or cluster-delete command. - Execute cluster-create or cluster-delete command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_ospf module: pn_ospf
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to add/remove ospf protocol to a vRouter. short_description: CLI command to add/remove ospf protocol to a vRouter.
description: description:
- Execute vrouter-ospf-add, vrouter-ospf-remove command. - Execute vrouter-ospf-add, vrouter-ospf-remove command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_ospfarea module: pn_ospfarea
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to add/remove ospf area to/from a vrouter. short_description: CLI command to add/remove ospf area to/from a vrouter.
description: description:
- Execute vrouter-ospf-add, vrouter-ospf-remove command. - Execute vrouter-ospf-add, vrouter-ospf-remove command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_show module: pn_show
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: Run show commands on nvOS device. short_description: Run show commands on nvOS device.
description: description:
- Execute show command in the nodes and returns the results - Execute show command in the nodes and returns the results

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_trunk module: pn_trunk
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to create/delete/modify a trunk. short_description: CLI command to create/delete/modify a trunk.
description: description:
- Execute trunk-create or trunk-delete command. - Execute trunk-create or trunk-delete command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_vlag module: pn_vlag
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to create/delete/modify vlag. short_description: CLI command to create/delete/modify vlag.
description: description:
- Execute vlag-create/vlag-delete/vlag-modify command. - Execute vlag-create/vlag-delete/vlag-modify command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_vlan module: pn_vlan
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to create/delete a VLAN. short_description: CLI command to create/delete a VLAN.
description: description:
- Execute vlan-create or vlan-delete command. - Execute vlan-create or vlan-delete command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_vrouter module: pn_vrouter
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1
short_description: CLI command to create/delete/modify a vrouter. short_description: CLI command to create/delete/modify a vrouter.
description: description:
- Execute vrouter-create, vrouter-delete, vrouter-modify command. - Execute vrouter-create, vrouter-delete, vrouter-modify command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_vrouterbgp module: pn_vrouterbgp
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to add/remove/modify vrouter-bgp. short_description: CLI command to add/remove/modify vrouter-bgp.
description: description:
- Execute vrouter-bgp-add, vrouter-bgp-remove, vrouter-bgp-modify command. - Execute vrouter-bgp-add, vrouter-bgp-remove, vrouter-bgp-modify command.

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_vrouterif module: pn_vrouterif
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to add/remove/modify vrouter-interface. short_description: CLI command to add/remove/modify vrouter-interface.
description: description:
- Execute vrouter-interface-add, vrouter-interface-remove, - Execute vrouter-interface-add, vrouter-interface-remove,

View file

@ -27,7 +27,6 @@ DOCUMENTATION = """
module: pn_vrouterlbif module: pn_vrouterlbif
author: "Pluribus Networks (@amitsi)" author: "Pluribus Networks (@amitsi)"
version_added: "2.2" version_added: "2.2"
version: 1.0
short_description: CLI command to add/remove vrouter-loopback-interface. short_description: CLI command to add/remove vrouter-loopback-interface.
description: description:
- Execute vrouter-loopback-interface-add, vrouter-loopback-interface-remove - Execute vrouter-loopback-interface-add, vrouter-loopback-interface-remove

View file

@ -33,7 +33,7 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python can be obtained from PyPi U(https://pypi.python.org/pypi/pan-python) - pan-python can be obtained from PyPi U(https://pypi.python.org/pypi/pan-python)
note: notes:
- Checkmode is not supported. - Checkmode is not supported.
options: options:
ip_address: ip_address:

View file

@ -39,7 +39,7 @@ options:
recipient_type: recipient_type:
description: description:
- The request parametmer you would like to send the message to. - The request parameter you would like to send the message to.
- Messages can be sent to either a room or individual (by ID or E-Mail). - Messages can be sent to either a room or individual (by ID or E-Mail).
required: True required: True
choices: ['roomId', 'toPersonEmail', 'toPersonId'] choices: ['roomId', 'toPersonEmail', 'toPersonId']
@ -59,7 +59,7 @@ options:
personal_token: personal_token:
description: description:
- Your personal access token required to validate the Spark API. - Your personal access token required to validate the Spark API.
require: true required: true
aliases: ['token'] aliases: ['token']
message: message:

View file

@ -28,6 +28,7 @@ module: apk
short_description: Manages apk packages short_description: Manages apk packages
description: description:
- Manages I(apk) packages for Alpine Linux. - Manages I(apk) packages for Alpine Linux.
author: "Kevin Brebanov (@kbrebanov)"
version_added: "2.0" version_added: "2.0"
options: options:
name: name:

View file

@ -46,11 +46,10 @@ options:
- The optional git URL of the repository to tap. The URL is not - The optional git URL of the repository to tap. The URL is not
assumed to be on GitHub, and the protocol doesn't have to be HTTP. assumed to be on GitHub, and the protocol doesn't have to be HTTP.
Any location and protocol that git can handle is fine. Any location and protocol that git can handle is fine.
required: false
version_added: "2.2"
note:
- I(name) option may not be a list of multiple taps (but a single - I(name) option may not be a list of multiple taps (but a single
tap instead) when this option is provided. tap instead) when this option is provided.
required: false
version_added: "2.2"
state: state:
description: description:
- state of the repository. - state of the repository.

View file

@ -29,8 +29,6 @@ module: package
version_added: 2.0 version_added: 2.0
author: author:
- Ansible Inc - Ansible Inc
maintainers:
- Ansible Core Team
short_description: Generic OS package manager short_description: Generic OS package manager
description: description:
- Installs, upgrade and removes packages using the underlying OS package manager. - Installs, upgrade and removes packages using the underlying OS package manager.

View file

@ -165,7 +165,6 @@ options:
- Specifies the number of packages to build simultaneously. - Specifies the number of packages to build simultaneously.
required: false required: false
default: None default: None
type: int
version_added: 2.3 version_added: 2.3
loadavg: loadavg:
@ -174,7 +173,6 @@ options:
- other builds running and the load average is at least LOAD - other builds running and the load average is at least LOAD
required: false required: false
default: None default: None
type: float
version_added: 2.3 version_added: 2.3
requirements: [ gentoolkit ] requirements: [ gentoolkit ]

View file

@ -36,7 +36,6 @@ options:
description: description:
- Remote RMCP port. - Remote RMCP port.
required: false required: false
type: int
default: 623 default: 623
user: user:
description: description:
@ -70,7 +69,7 @@ options:
- If set, ask that system firmware uses this device beyond next boot. - If set, ask that system firmware uses this device beyond next boot.
Be aware many systems do not honor this. Be aware many systems do not honor this.
required: false required: false
type: boolean type: bool
default: false default: false
uefiboot: uefiboot:
description: description:
@ -78,7 +77,7 @@ options:
Strictly speaking, the spec suggests that if not set, the system should BIOS boot and offers no "don't care" option. Strictly speaking, the spec suggests that if not set, the system should BIOS boot and offers no "don't care" option.
In practice, this flag not being set does not preclude UEFI boot on any system I've encountered. In practice, this flag not being set does not preclude UEFI boot on any system I've encountered.
required: false required: false
type: boolean type: bool
default: false default: false
requirements: requirements:
- "python >= 2.6" - "python >= 2.6"

View file

@ -36,7 +36,6 @@ options:
description: description:
- Remote RMCP port. - Remote RMCP port.
required: false required: false
type: int
default: 623 default: 623
user: user:
description: description:
@ -61,7 +60,6 @@ options:
description: description:
- Maximum number of seconds before interrupt request. - Maximum number of seconds before interrupt request.
required: false required: false
type: int
default: 300 default: 300
requirements: requirements:
- "python >= 2.6" - "python >= 2.6"

View file

@ -62,7 +62,7 @@ options:
force_install: force_install:
description: description:
- Set value to True to force node into install state if it already exists in stacki. - Set value to True to force node into install state if it already exists in stacki.
requiored: False required: False
author: "Hugh Ma <Hugh.Ma@flextronics.com>" author: "Hugh Ma <Hugh.Ma@flextronics.com>"
''' '''

View file

@ -57,21 +57,35 @@ options:
description: description:
- List of licenses to add or remove. - List of licenses to add or remove.
- Please note that trying to remove a non-existent license will throw an error. - Please note that trying to remove a non-existent license will throw an error.
valid_options: suboptions:
- base : Cluster Base License, base:
- nfs : NFS License, description: Cluster Base License
- cifs : CIFS License, nfs:
- iscsi : iSCSI License, description: NFS License
- fcp : FCP License, cifs:
- cdmi : CDMI License, description: CIFS License
- snaprestore : SnapRestore License, iscsi:
- snapmirror : SnapMirror License, description: iSCSI License
- flexclone : FlexClone License, fcp:
- snapvault : SnapVault License, description: FCP License
- snaplock : SnapLock License, cdmi:
- snapmanagersuite : SnapManagerSuite License, description: CDMI License
- snapprotectapps : SnapProtectApp License, snaprestore:
- v_storageattach : Virtual Attached Storage License description: SnapRestore License
snapmirror:
description: SnapMirror License
flexclone:
description: FlexClone License
snapvault:
description: SnapVault License
snaplock:
description: SnapLock License
snapmanagersuite:
description: SnapManagerSuite License
snapprotectapps:
description: SnapProtectApp License
v_storageattach:
description: Virtual Attached Storage License
''' '''

View file

@ -49,8 +49,7 @@ options:
flexvol_name: flexvol_name:
description: description:
- The name of the FlexVol the Qtree should exist on. - The name of the FlexVol the Qtree should exist on. Required when C(state=present).
note: required when C(state=present)
vserver: vserver:
description: description:

View file

@ -49,13 +49,12 @@ options:
root_volume: root_volume:
description: description:
- Root volume of the SVM. - Root volume of the SVM. Required when C(state=present).
note: required when C(state=present)
root_volume_aggregate: root_volume_aggregate:
description: description:
- The aggregate on which the root volume will be created. - The aggregate on which the root volume will be created.
note: required when C(state=present) - Required when C(state=present).
root_volume_security_style: root_volume_security_style:
description: description:
@ -65,7 +64,7 @@ options:
- Possible values are 'unix', 'ntfs', 'mixed'. - Possible values are 'unix', 'ntfs', 'mixed'.
- The 'unified' security style, which applies only to Infinite Volumes, cannot be applied to a Vserver's root volume. - The 'unified' security style, which applies only to Infinite Volumes, cannot be applied to a Vserver's root volume.
- Valid options are "unix" for NFS, "ntfs" for CIFS, "mixed" for Mixed, "unified" for Unified. - Valid options are "unix" for NFS, "ntfs" for CIFS, "mixed" for Mixed, "unified" for Unified.
note: required when C(state=present) - Required when C(state=present)
choices: ['unix', 'ntfs', 'mixed', 'unified'] choices: ['unix', 'ntfs', 'mixed', 'unified']
''' '''

View file

@ -58,7 +58,6 @@ options:
- Authentication method for the application. - Authentication method for the application.
- Not all authentication methods are valid for an application. - Not all authentication methods are valid for an application.
- Valid authentication methods for each application are as denoted in I(authentication_choices_description). - Valid authentication methods for each application are as denoted in I(authentication_choices_description).
authentication_choices_description:
- password for console application - password for console application
- password, domain, nsswitch, cert for http application. - password, domain, nsswitch, cert for http application.
- password, domain, nsswitch, cert for ontapi application. - password, domain, nsswitch, cert for ontapi application.
@ -80,8 +79,7 @@ options:
role_name: role_name:
description: description:
- The name of the role. - The name of the role. Required when C(state=present)
note: required when C(state=present)
vserver: vserver:

View file

@ -61,13 +61,11 @@ options:
aggregate_name: aggregate_name:
description: description:
- The name of the aggregate the flexvol should exist on. - The name of the aggregate the flexvol should exist on. Required when C(state=present).
note: required when C(state=present)
size: size:
description: description:
- The size of the volume in (size_unit). - The size of the volume in (size_unit). Required when C(state=present).
note: required when C(state=present)
size_unit: size_unit:
description: description:

View file

@ -42,8 +42,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -42,8 +42,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -38,8 +38,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -41,8 +41,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -41,9 +41,7 @@ options:
api_url: api_url:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API, for example C(https://prod-1.wahoo.acme.com/devmgr/v2).
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -44,8 +44,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -42,8 +42,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

View file

@ -44,8 +44,6 @@ options:
required: true required: true
description: description:
- The url to the SANtricity WebServices Proxy or embedded REST API. - The url to the SANtricity WebServices Proxy or embedded REST API.
example:
- https://prod-1.wahoo.acme.com/devmgr/v2
validate_certs: validate_certs:
required: false required: false
default: true default: true

Some files were not shown because too many files have changed in this diff Show more