Parameter |
Choices/Defaults |
Comments |
client_cert
|
|
PEM formatted certificate chain file to be used for SSL client authentication. This file can also include the key as well, and if the key is included, client_key is not required.
|
client_key
|
|
PEM formatted file that contains your private key to be used for SSL client authentication. If client_cert contains both the certificate and key, this option is not required.
|
force
bool |
|
If yes do not get a cached copy.
aliases: thirsty
|
force_basic_auth
bool |
|
Credentials specified with url_username and url_password should be passed in HTTP Header.
|
group
|
Default:
"jenkins"
|
Name of the Jenkins group on the OS.
|
http_agent
|
Default:
"ansible-httpget"
|
Header to identify as, generally appears in web server logs.
|
jenkins_home
|
Default:
"/var/lib/jenkins"
|
Home directory of the Jenkins user.
|
mode
|
|
File mode applied on versioned plugins.
|
name
|
|
Plugin name.
|
owner
|
Default:
"jenkins"
|
Name of the Jenkins user on the OS.
|
state
|
Choices:
- absent
present ←
- pinned
- unpinned
- enabled
- disabled
- latest
|
Desired plugin state.
If the latest is set, the check for new version will be performed every time. This is suitable to keep the plugin up-to-date.
|
timeout
|
Default:
30
|
Server connection timeout in secs.
|
updates_expiration
|
Default:
86400
|
Number of seconds after which a new copy of the update-center.json file is downloaded. This is used to avoid the need to download the plugin to calculate its checksum when latest is specified.
Set it to 0 if no cache file should be used. In that case, the plugin file will always be downloaded to calculate its checksum when latest is specified.
|
updates_url
|
Default:
"https://updates.jenkins-ci.org"
|
URL of the Update Centre.
Used as the base URL to download the plugins and the update-center.json JSON file.
|
url
|
Default:
"http://localhost:8080"
|
URL of the Jenkins server.
|
url_password
|
|
The password for use in HTTP basic authentication.
If the url_username parameter is not specified, the url_password parameter will not be used.
|
url_username
|
|
The username for use in HTTP basic authentication.
This parameter can be used without url_password for sites that allow empty passwords
|
use_proxy
bool |
|
If no , it will not use a proxy, even if one is defined in an environment variable on the target hosts.
|
validate_certs
bool |
|
If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
|
version
|
|
Plugin version number.
If this option is specified, all plugin dependencies must be installed manually.
It might take longer to verify that the correct version is installed. This is especially true if a specific version number is specified.
Quote the version to prevent the value to be interpreted as float. For example if 1.20 would be unquoted, it would become 1.2 .
|
with_dependencies
bool |
|
Defines whether to install plugin dependencies.
This option takes effect only if the version is not defined.
|