summaryrefslogtreecommitdiff
path: root/test/integration/targets/tower_job_wait/tasks/main.yml
diff options
context:
space:
mode:
authorAnsible Core Team <info@ansible.com>2020-03-09 09:40:36 +0000
committerAnsible Core Team <info@ansible.com>2020-03-09 09:40:36 +0000
commit48fa7e27b03f0cd5370d8892173a1fbfe6efb220 (patch)
treecbf72c149656a4d99370ebad75ea2fc62c458bc0 /test/integration/targets/tower_job_wait/tasks/main.yml
parent1915feadd5aede002d5036a52fd7f77c90bd91c2 (diff)
downloadansible-48fa7e27b03f0cd5370d8892173a1fbfe6efb220.tar.gz
Migrated to awx.awx
Diffstat (limited to 'test/integration/targets/tower_job_wait/tasks/main.yml')
-rw-r--r--test/integration/targets/tower_job_wait/tasks/main.yml26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/integration/targets/tower_job_wait/tasks/main.yml b/test/integration/targets/tower_job_wait/tasks/main.yml
deleted file mode 100644
index 2ffc5bca3a..0000000000
--- a/test/integration/targets/tower_job_wait/tasks/main.yml
+++ /dev/null
@@ -1,26 +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: Wait for the Job to finish
- tower_job_wait:
- job_id: "{{ job.id }}"
- timeout: 60
-
-- name: Check module fails with correct msg
- tower_job_wait:
- job_id: "99999999"
- register: result
- ignore_errors: true
-
-- assert:
- that:
- - "result.msg =='Unable to wait, no job_id 99999999 found: The requested object could not be found.'" \ No newline at end of file