mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-02 12:14:25 -07:00
doc style adjustments: modules j*
This commit is contained in:
parent
77cd018427
commit
002981f94c
10 changed files with 31 additions and 32 deletions
|
@ -32,7 +32,7 @@ options:
|
|||
cert_port:
|
||||
description:
|
||||
- Port to connect to URL.
|
||||
- This will be used to create server URL:PORT.
|
||||
- This is used to create server URL:PORT.
|
||||
type: int
|
||||
default: 443
|
||||
cert_path:
|
||||
|
@ -98,8 +98,8 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Defines action which can be either certificate import or removal.
|
||||
- When state is present, the certificate will always idempotently be inserted into the keystore, even if there already
|
||||
exists a cert alias that is different.
|
||||
- When O(state=present), the certificate is always inserted into the keystore, even if there already exists a cert alias
|
||||
that is different.
|
||||
type: str
|
||||
choices: [absent, present]
|
||||
default: present
|
||||
|
|
|
@ -24,8 +24,8 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the certificate in the keystore.
|
||||
- If the provided name does not exist in the keystore, the module will re-create the keystore. This behavior changed
|
||||
in community.general 3.0.0, before that the module would fail when the name did not match.
|
||||
- If the provided name does not exist in the keystore, the module re-creates the keystore. This behavior changed in
|
||||
community.general 3.0.0, before that the module would fail when the name did not match.
|
||||
type: str
|
||||
required: true
|
||||
certificate:
|
||||
|
@ -62,7 +62,7 @@ options:
|
|||
password:
|
||||
description:
|
||||
- Password that should be used to secure the keystore.
|
||||
- If the provided password fails to unlock the keystore, the module will re-create the keystore with the new passphrase.
|
||||
- If the provided password fails to unlock the keystore, the module re-creates the keystore with the new passphrase.
|
||||
This behavior changed in community.general 3.0.0, before that the module would fail when the password did not match.
|
||||
type: str
|
||||
required: true
|
||||
|
@ -130,7 +130,7 @@ notes:
|
|||
or with the P(ansible.builtin.file#lookup) lookup), while O(certificate_path) and O(private_key_path) require that the
|
||||
files are available on the target host.
|
||||
- By design, any change of a value of options O(keystore_type), O(name) or O(password), as well as changes of key or certificate
|
||||
materials will cause the existing O(dest) to be overwritten.
|
||||
materials causes the existing O(dest) to be overwritten.
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
|
|
|
@ -30,7 +30,7 @@ options:
|
|||
build_number:
|
||||
description:
|
||||
- An integer which specifies a build of a job.
|
||||
- If not specified the last build information will be returned.
|
||||
- If not specified the last build information is returned.
|
||||
type: int
|
||||
password:
|
||||
description:
|
||||
|
|
|
@ -10,13 +10,13 @@ from __future__ import absolute_import, division, print_function
|
|||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = r"""
|
||||
---
|
||||
module: jenkins_credential
|
||||
short_description: Manage Jenkins credentials and domains via API
|
||||
short_description: Manage Jenkins credentials and domains through API
|
||||
version_added: 11.1.0
|
||||
description:
|
||||
- This module allows managing Jenkins credentials and domain scopes via the Jenkins HTTP API.
|
||||
- Create, update, and delete different credential types such as C(username/password), C(secret text), C(SSH key), C(certificates), C(GitHub App), and domains.
|
||||
- This module allows managing Jenkins credentials and domain scopes through the Jenkins HTTP API.
|
||||
- Create, update, and delete different credential types such as C(username/password), C(secret text), C(SSH key), C(certificates),
|
||||
C(GitHub App), and domains.
|
||||
- For scoped domains (O(type=scope)), it supports restrictions based on V(hostname), V(hostname:port), V(path), and V(scheme).
|
||||
requirements:
|
||||
- urllib3 >= 1.26.0
|
||||
|
@ -170,7 +170,7 @@ options:
|
|||
inc_path:
|
||||
description:
|
||||
- List of URL paths to include when matching credentials to domains.
|
||||
- "B(Matching is hierarchical): subpaths of excluded paths are also excluded, even if explicitly included."
|
||||
- 'B(Matching is hierarchical): subpaths of excluded paths are also excluded, even if explicitly included.'
|
||||
type: list
|
||||
elements: str
|
||||
exc_path:
|
||||
|
|
|
@ -76,8 +76,8 @@ options:
|
|||
type: bool
|
||||
default: true
|
||||
description:
|
||||
- If set to V(false), the SSL certificates will not be validated. This should only set to V(false) used on personally
|
||||
controlled sites using self-signed certificates as it avoids verifying the source site.
|
||||
- If set to V(false), the SSL certificates are not validated. This should only set to V(false) used on personally controlled
|
||||
sites using self-signed certificates as it avoids verifying the source site.
|
||||
- The C(python-jenkins) library only handles this by using the environment variable E(PYTHONHTTPSVERIFY).
|
||||
version_added: 2.3.0
|
||||
"""
|
||||
|
|
|
@ -53,7 +53,7 @@ options:
|
|||
- User to authenticate with the Jenkins server.
|
||||
validate_certs:
|
||||
description:
|
||||
- If set to V(false), the SSL certificates will not be validated.
|
||||
- If set to V(false), the SSL certificates are not validated.
|
||||
- This should only set to V(false) used on personally controlled sites using self-signed certificates.
|
||||
default: true
|
||||
type: bool
|
||||
|
|
|
@ -65,9 +65,9 @@ options:
|
|||
offline_message:
|
||||
description:
|
||||
- Specifies the offline reason message to be set when configuring the Jenkins node state.
|
||||
- If O(offline_message) is given and requested O(state) is not V(disabled), an error will be raised.
|
||||
- If O(offline_message) is given and requested O(state) is not V(disabled), an error is raised.
|
||||
- Internally O(offline_message) is set using the V(toggleOffline) API, so updating the message when the node is already
|
||||
offline (current state V(disabled)) is not possible. In this case, a warning will be issued.
|
||||
offline (current state V(disabled)) is not possible. In this case, a warning is issued.
|
||||
type: str
|
||||
version_added: 10.0.0
|
||||
"""
|
||||
|
|
|
@ -51,7 +51,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- Desired plugin state.
|
||||
- If set to V(latest), the check for new version will be performed every time. This is suitable to keep the plugin up-to-date.
|
||||
- If set to V(latest), the check for new version is performed every time. This is suitable to keep the plugin up-to-date.
|
||||
choices: [absent, present, pinned, unpinned, enabled, disabled, latest]
|
||||
default: present
|
||||
timeout:
|
||||
|
@ -64,8 +64,8 @@ options:
|
|||
description:
|
||||
- Number of seconds after which a new copy of the C(update-center.json) file is downloaded. This is used to avoid the
|
||||
need to download the plugin to calculate its checksum when O(state=latest) is specified.
|
||||
- Set it to V(0) if no cache file should be used. In that case, the plugin file will always be downloaded to calculate
|
||||
its checksum when O(state=latest) is specified.
|
||||
- Set it to V(0) if no cache file should be used. In that case, the plugin file is always downloaded to calculate its
|
||||
checksum when O(state=latest) is specified.
|
||||
default: 86400
|
||||
updates_url:
|
||||
type: list
|
||||
|
|
|
@ -39,8 +39,8 @@ options:
|
|||
default: http://localhost:8080
|
||||
validate_certs:
|
||||
description:
|
||||
- If set to V(false), the SSL certificates will not be validated. This should only set to V(false) used on personally
|
||||
controlled sites using self-signed certificates as it avoids verifying the source site.
|
||||
- If set to V(false), the SSL certificates are not validated. This should only set to V(false) used on personally controlled
|
||||
sites using self-signed certificates as it avoids verifying the source site.
|
||||
type: bool
|
||||
default: true
|
||||
user:
|
||||
|
|
|
@ -117,14 +117,13 @@ options:
|
|||
suboptions:
|
||||
type:
|
||||
description:
|
||||
- Use type to specify which of the JIRA visibility restriction types will be used.
|
||||
- Use O(comment_visibility.type) to specify which of the JIRA visibility restriction types is used.
|
||||
type: str
|
||||
required: true
|
||||
choices: [group, role]
|
||||
value:
|
||||
description:
|
||||
- Use value to specify value corresponding to the type of visibility restriction. For example name of the group
|
||||
or role.
|
||||
- Specify value corresponding to the type of visibility restriction. For example name of the group or role.
|
||||
type: str
|
||||
required: true
|
||||
version_added: '3.2.0'
|
||||
|
@ -165,12 +164,12 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
description:
|
||||
- Set issue from which link will be created.
|
||||
- Set issue from which link is created.
|
||||
outwardissue:
|
||||
type: str
|
||||
required: false
|
||||
description:
|
||||
- Set issue to which link will be created.
|
||||
- Set issue to which link is created.
|
||||
fields:
|
||||
type: dict
|
||||
required: false
|
||||
|
@ -192,7 +191,7 @@ options:
|
|||
maxresults:
|
||||
required: false
|
||||
description:
|
||||
- Limit the result of O(operation=search). If no value is specified, the default jira limit will be used.
|
||||
- Limit the result of O(operation=search). If no value is specified, the default JIRA limit is used.
|
||||
- Used when O(operation=search) only, ignored otherwise.
|
||||
type: int
|
||||
version_added: '0.2.0'
|
||||
|
@ -226,12 +225,12 @@ options:
|
|||
content:
|
||||
type: str
|
||||
description:
|
||||
- The Base64 encoded contents of the file to attach. If not specified, the contents of O(attachment.filename) will
|
||||
be used instead.
|
||||
- The Base64 encoded contents of the file to attach. If not specified, the contents of O(attachment.filename) is
|
||||
used instead.
|
||||
mimetype:
|
||||
type: str
|
||||
description:
|
||||
- The MIME type to supply for the upload. If not specified, best-effort detection will be done.
|
||||
- The MIME type to supply for the upload. If not specified, best-effort detection is performed.
|
||||
notes:
|
||||
- Currently this only works with basic-auth, or tokens.
|
||||
- To use with JIRA Cloud, pass the login e-mail as the O(username) and the API token as O(password).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue