mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-08 15:14:20 -07:00
Add new modules rundeck_job_run and rundeck_job_executions_info (#3521)
* Add new module rundeck_job_run * Add new module rundeck_job_executions_info * Removed supports_check_mode * Fix supports_check_mode * Fix version_added * Fixes for PR#3521 * Fix default value for loglevel in the doc * Fix job_status_check loop * Add proposed changes in PR#3521 * Add proposed changes in PR#3521 * Change executions_info output to executions * Add rundeck integration tests * Fix rundeck integration test * Add more tests to rundeck integration tests * Update job_options doc * Add more tests to rundeck integration tests * Add more examples to rundeck_job_run doc * Add proposed fixes for PR#3521 * Add proposed fixes for PR#3521 * Fix job_options * Add proposed changes for PR#3521
This commit is contained in:
parent
8ece0d3609
commit
9772485d3c
17 changed files with 841 additions and 0 deletions
23
tests/integration/targets/rundeck/files/test_job.yaml
Normal file
23
tests/integration/targets/rundeck/files/test_job.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
- defaultTab: nodes
|
||||
description: ''
|
||||
executionEnabled: true
|
||||
id: 3b8a6e54-69fb-42b7-b98f-f82e59238478
|
||||
loglevel: INFO
|
||||
name: test_job
|
||||
nodeFilterEditable: false
|
||||
options:
|
||||
- label: Exit Code
|
||||
name: exit_code
|
||||
value: '0'
|
||||
- label: Sleep
|
||||
name: sleep
|
||||
value: '1'
|
||||
plugins:
|
||||
ExecutionLifecycle: null
|
||||
scheduleEnabled: true
|
||||
sequence:
|
||||
commands:
|
||||
- exec: sleep $RD_OPTION_SLEEP && echo "Test done!" && exit $RD_OPTION_EXIT_CODE
|
||||
keepgoing: false
|
||||
strategy: node-first
|
||||
uuid: 3b8a6e54-69fb-42b7-b98f-f82e59238478
|
Loading…
Add table
Add a link
Reference in a new issue