You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add folder of structure
* First iteration of the role
* Add test case
* Fix bad imports
* Add fragment
* Add documentation of the role
* Updated role doc generation
* Updated makefile to remove residuals
* Updated docs
* Updated ansible content
* Align documentation
* Update README.md
* To try to validate dependency finder
* Fix dependencyfinder
* Handle errors and add to job status
* Avoid make None all
* Update roles/job_status/README.md
Co-authored-by: Fernando Flores <[email protected]>
* Update roles/job_status/README.md
Co-authored-by: Fernando Flores <[email protected]>
* Fix sanity
* Fix sanity
---------
Co-authored-by: André Marcel Gutiérrez Benítez <[email protected]>
Co-authored-by: Fernando Flores <[email protected]>
- The **IBM z/ibm_zos_core collection** provides an Ansible role, referred to as **job_status**, to query a particular job with a given job_id and parse the response to return as a msg the job status and if the job is currently running or not.
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
Variables
27
+
---------
28
+
29
+
30
+
31
+
32
+
job_id
33
+
The job id that has been assigned to the job.
34
+
35
+
A job id must begin with `STC`, `JOB`, `TSU` and are followed by up to 5 digits.
36
+
37
+
When a job id is greater than 99,999, the job id format will begin with `S`, `J`, `T` and are followed by 7 digits.
38
+
39
+
|**required**: True
40
+
|**type**: str
41
+
42
+
43
+
44
+
45
+
Examples
46
+
--------
47
+
48
+
.. code-block:: yaml+jinja
49
+
50
+
51
+
- name: Query the job status and if is running of the job STC00001
52
+
hosts: sampleHost
53
+
gather_facts: no
54
+
collections:
55
+
- ibm.ibm_zos_core
56
+
tasks:
57
+
- include_role:
58
+
name: job_status
59
+
vars:
60
+
job_oid: STC00001
61
+
62
+
63
+
64
+
65
+
Notes
66
+
-----
67
+
68
+
.. note::
69
+
- The role tolerate the asterisk (`*`) as wildcard but only retrieve information from the first job returned that math the patter.
0 commit comments