diff options
Diffstat (limited to 'test/integration/targets/tower_job_cancel/tasks/main.yml')
-rw-r--r-- | test/integration/targets/tower_job_cancel/tasks/main.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/integration/targets/tower_job_cancel/tasks/main.yml b/test/integration/targets/tower_job_cancel/tasks/main.yml deleted file mode 100644 index 304e71a84f..0000000000 --- a/test/integration/targets/tower_job_cancel/tasks/main.yml +++ /dev/null @@ -1,25 +0,0 @@ -- name: Launch a Job Template - tower_job_launch: - job_template: "Demo Job Template" - inventory: "Demo Inventory" - credential: "Demo Credential" - register: job - -- assert: - that: - - "job is changed" - - "job.status == 'pending'" - -- name: Cancel the job - tower_job_cancel: - job_id: "{{ job.id }}" - -- name: Check module fails with correct msg - tower_job_cancel: - job_id: 9999999999 - register: result - ignore_errors: true - -- assert: - that: - - "result.msg =='Unable to cancel job_id/9999999999: The requested object could not be found.'"
\ No newline at end of file |