community.general.rundeck_job_executions_info module – Query executions for a Rundeck job
Note
This module is part of the community.general collection (version 6.6.2).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.rundeck_job_executions_info
.
New in community.general 3.8.0
Synopsis
This module gets the list of executions for a specified Rundeck job.
Parameters
Parameter |
Comments |
---|---|
Rundeck User API Token. |
|
Rundeck API version to be used. API version must be at least 14. Default: |
|
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, |
|
PEM formatted file that contains your private key to be used for SSL client authentication. If |
|
If Choices:
|
|
Credentials specified with url_username and url_password should be passed in HTTP Header. Choices:
|
|
Header to identify as, generally appears in web server logs. Default: |
|
The job unique ID. |
|
Max results to return. Default: |
|
The start point to return the results. Default: |
|
The job status to filter. Choices:
|
|
Rundeck instance URL. |
|
The password for use in HTTP basic authentication. If the url_username parameter is not specified, the url_password parameter will not be used. |
|
The username for use in HTTP basic authentication. This parameter can be used without url_password for sites that allow empty passwords |
|
Use GSSAPI to perform the authentication, typically this is for Kerberos or Kerberos through Negotiate authentication. Requires the Python library gssapi to be installed. Credentials for GSSAPI can be specified with url_username/url_password or with the GSSAPI env var NTLM authentication is Choices:
|
|
If Choices:
|
|
If This should only be used on personally controlled sites using self-signed certificates. Choices:
|
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full This action does not modify state. |
Can run in |
|
Support: N/A This action does not modify state. |
Will return details on what has changed (or possibly needs changing in |
Examples
- name: Get Rundeck job executions info
community.general.rundeck_job_executions_info:
url: "https://rundeck.example.org"
api_version: 39
api_token: "mytoken"
job_id: "xxxxxxxxxxxxxxxxx"
register: rundeck_job_executions_info
- name: Show Rundeck job executions info
ansible.builtin.debug:
var: rundeck_job_executions_info.executions
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Job executions list. Returned: always Sample: |
|
Results pagination info. Returned: success Sample: |
|
Number of results in the response. Returned: success |
|
Maximum number of results per page. Returned: success |
|
Offset from first of all results. Returned: success |
|
Total number of results. Returned: success |
Collection links
Issue Tracker Repository (Sources) Submit a bug report Request a feature Communication