Jenkins related plugins
https://git.unixadm.org/phil/ansible-collection-jenkins
this module creates or deletes a credential
Parameter | Choices/Defaults | Description |
---|---|---|
domain (str) |
(global) | credential domain |
key (str) |
the user's ssh key mutually exclusive with password |
|
name (str) required |
the user@domain combination to retrieve the id for | |
passphrase (str) |
the user's ssh key's passphrase must be specified when key is used |
|
password (str) |
the user's password mutually exclusive with key |
|
scope (str) |
GLOBAL SYSTEM |
credential scope |
ssh_host (str) |
localhost | jenkins ssh hostname |
ssh_key (str) |
jenkins ssh private key as string | |
ssh_key_file (str) |
path to the jenkins ssh private key file | |
ssh_key_passphrase (str) |
passphrase for private key decryption | |
ssh_pass (str) |
jenkins ssh password | |
ssh_user (str) |
jenkins | jenkins ssh username |
state (str) |
present absent |
create ("present") or remove ("absent") the given credential domain |
you must provide either a password or an ssh key (file or string)
this module creates or deletes a credential domain
Parameter | Choices/Defaults | Description |
---|---|---|
description (str) |
the domain's description | |
excludes (str) |
something | |
includes (str) |
something | |
name (str) required |
the credential domain name | |
ssh_host (str) |
localhost | jenkins ssh hostname |
ssh_key (str) |
jenkins ssh private key as string | |
ssh_key_file (str) |
path to the jenkins ssh private key file | |
ssh_key_passphrase (str) |
passphrase for private key decryption | |
ssh_pass (str) |
jenkins ssh password | |
ssh_user (str) |
jenkins | jenkins ssh username |
state (str) |
present absent |
create ("present") or remove ("absent") the given credential domain |
you must provide either a password or an ssh key (file or string)
this module retrieves the credential id for a given name (user@domain)
Parameter | Choices/Defaults | Description |
---|---|---|
name (str) required |
the user@domain combination to retrieve the id for | |
ssh_host (str) |
localhost | jenkins ssh hostname |
ssh_key (str) |
jenkins ssh private key as string | |
ssh_key_file (str) |
path to the jenkins ssh private key file | |
ssh_key_passphrase (str) |
passphrase for private key decryption | |
ssh_pass (str) |
jenkins ssh password | |
ssh_user (str) |
jenkins | jenkins ssh username |
you must provide either a password or an ssh key (file or string)
generates and returns the jenkins master keypair
Parameter | Choices/Defaults | Description |
---|---|---|
path (str) |
path to the secrets path (usually /var/lib/jenkins/secrets) |
installs a jenkins plugin together with its dependencies
Parameter | Choices/Defaults | Description |
---|---|---|
cache (str) |
path for the updatecenter cache | |
jenkins_home (str) |
jenkins home directory | |
name (str) |
name of the plugin to install | |
state (str) |
install (present) or uninstall (absent) plugin | |
timeout (str) |
timeout for retrieving the updatecenter information and the plugin file | |
updates_url (str) |
updatecenter url |
Returns this collection's version
---
- assert:
that: "lookup('unixadm.jenkins.version') is version_compare('0.0.1', '>=')"
Key | Returned | Description |
---|---|---|
_raw (str) |
Success | version string |
GPL-2.0-only