Debian Codegraph @

ansible_collections/dellemc/openmanage/docs/modules/idrac_lifecycle_controller_job_status_info.rst

raw
1 .. _idrac_lifecycle_controller_job_status_info_module:
2
3
4 idrac_lifecycle_controller_job_status_info -- Get the status of a Lifecycle Controller job
5 ==========================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module shows the status of a specific Lifecycle Controller job using its job ID.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - omsdk \>= 1.2.488
24 - python \>= 3.9.6
25
26
27
28 Parameters
29 ----------
30
31 job_id (True, str, None)
32 JOB ID in the format "JID\_123456789012".
33
34
35 idrac_ip (True, str, None)
36 iDRAC IP Address.
37
38
39 idrac_user (True, str, None)
40 iDRAC username.
41
42 If the username is not provided, then the environment variable :envvar:`IDRAC\_USERNAME` is used.
43
44 Example: export IDRAC\_USERNAME=username
45
46
47 idrac_password (True, str, None)
48 iDRAC user password.
49
50 If the password is not provided, then the environment variable :envvar:`IDRAC\_PASSWORD` is used.
51
52 Example: export IDRAC\_PASSWORD=password
53
54
55 idrac_port (optional, int, 443)
56 iDRAC port.
57
58
59 validate_certs (optional, bool, True)
60 If :literal:`false`\ , the SSL certificates will not be validated.
61
62 Configure :literal:`false` only on personally controlled sites where self-signed certificates are used.
63
64 Prior to collection version :literal:`5.0.0`\ , the :emphasis:`validate\_certs` is :literal:`false` by default.
65
66
67 ca_path (optional, path, None)
68 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
69
70
71 timeout (optional, int, 30)
72 The socket level timeout in seconds.
73
74
75
76
77
78 Notes
79 -----
80
81 .. note::
82 - Run this module from a system that has direct access to Dell iDRAC.
83 - This module supports both IPv4 and IPv6 address for :emphasis:`idrac\_ip`.
84 - This module supports :literal:`check\_mode`.
85
86
87
88
89 Examples
90 --------
91
92 .. code-block:: yaml+jinja
93
94
95 ---
96 - name: Show status of a Lifecycle Control job
97 dellemc.openmanage.idrac_lifecycle_controller_job_status_info:
98 idrac_ip: "192.168.0.1"
99 idrac_user: "user_name"
100 idrac_password: "user_password"
101 ca_path: "/path/to/ca_cert.pem"
102 job_id: "JID_1234567890"
103
104
105
106 Return Values
107 -------------
108
109 msg (always, str, Successfully fetched the job info.)
110 Overall status of the job facts operation.
111
112
113 job_info (success, dict, {'ElapsedTimeSinceCompletion': '8742', 'InstanceID': 'JID_844222910040', 'JobStartTime': 'NA', 'JobStatus': 'Completed', 'JobUntilTime': 'NA', 'Message': 'Job completed successfully.', 'MessageArguments': 'NA', 'MessageID': 'RED001', 'Name': 'update:DCIM:INSTALLED#iDRAC.Embedded.1-1#IDRACinfo', 'PercentComplete': '100', 'Status': 'Success'})
114 Displays the status of a Lifecycle Controller job.
115
116
117 error_info (on HTTP error, dict, {'error': {'code': 'Base.1.0.GeneralError', 'message': 'A general error has occurred. See ExtendedInfo for more information.', '@Message.ExtendedInfo': [{'MessageId': 'GEN1234', 'RelatedProperties': [], 'Message': 'Unable to process the request because an error occurred.', 'MessageArgs': [], 'Severity': 'Critical', 'Resolution': 'Retry the operation. If the issue persists, contact your system administrator.'}]}})
118 Details of the HTTP Error.
119
120
121
122
123
124 Status
125 ------
126
127
128
129
130
131 Authors
132 ~~~~~~~
133
134 - Rajeev Arakkal (@rajeevarakkal)
135 - Anooja Vardhineni (@anooja-vardhineni)
136 - Trisha Datta (@trisha-dell)
137