Tidy up validate-modules ignores for packaging modules (#1289)

* fixed validation-modules for plugins/modules/packaging/language/bower.py
This commit is contained in:
Alexei Znamensky 2020-11-14 01:41:11 +13:00 committed by GitHub
commit deddce02fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 76 additions and 119 deletions

View file

@ -24,18 +24,22 @@ requirements:
- boto if using a S3 repository (s3://...)
options:
group_id:
type: str
description:
- The Maven groupId coordinate
required: true
artifact_id:
type: str
description:
- The maven artifactId coordinate
required: true
version:
type: str
description:
- The maven version coordinate
- Mutually exclusive with I(version_by_spec).
version_by_spec:
type: str
description:
- The maven dependency version ranges.
- See supported version ranges on U(https://cwiki.apache.org/confluence/display/MAVENOLD/Dependency+Mediation+and+Conflict+Resolution)
@ -43,23 +47,28 @@ options:
- Mutually exclusive with I(version).
version_added: '0.2.0'
classifier:
type: str
description:
- The maven classifier coordinate
extension:
type: str
description:
- The maven type/extension coordinate
default: jar
repository_url:
type: str
description:
- The URL of the Maven Repository to download from.
- Use s3://... if the repository is hosted on Amazon S3, added in version 2.2.
- Use file://... if the repository is local, added in version 2.6
default: https://repo1.maven.org/maven2
username:
type: str
description:
- The username to authenticate as to the Maven Repository. Use AWS secret key of the repository is hosted on S3
aliases: [ "aws_secret_key" ]
password:
type: str
description:
- The password to authenticate with to the Maven Repository. Use AWS secret access key of the repository is hosted on S3
aliases: [ "aws_secret_access_key" ]
@ -77,16 +86,19 @@ options:
type: bool
version_added: '0.2.0'
dest:
type: path
description:
- The path where the artifact should be written to
- If file mode or ownerships are specified and destination path already exists, they affect the downloaded file
required: true
state:
type: str
description:
- The desired state of the artifact
default: present
choices: [present,absent]
timeout:
type: int
description:
- Specifies a timeout in seconds for the connection attempt
default: 10
@ -115,6 +127,7 @@ options:
type: bool
default: 'no'
verify_checksum:
type: str
description:
- If C(never), the md5 checksum will never be downloaded and verified.
- If C(download), the md5 checksum will be downloaded and verified only after artifact download. This is the default.