Debian Codegraph @

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

raw
1 .. _idrac_lifecycle_controller_jobs_module:
2
3
4 idrac_lifecycle_controller_jobs -- Delete the Lifecycle Controller Jobs
5 =======================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 Delete a Lifecycle Controller job using its job ID or delete all jobs.
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 (optional, str, None)
32 Job ID of the specific job to be deleted.
33
34 All the jobs in the job queue are deleted if this option is not specified.
35
36
37 idrac_ip (True, str, None)
38 iDRAC IP Address.
39
40
41 idrac_user (True, str, None)
42 iDRAC username.
43
44 If the username is not provided, then the environment variable :envvar:`IDRAC\_USERNAME` is used.
45
46 Example: export IDRAC\_USERNAME=username
47
48
49 idrac_password (True, str, None)
50 iDRAC user password.
51
52 If the password is not provided, then the environment variable :envvar:`IDRAC\_PASSWORD` is used.
53
54 Example: export IDRAC\_PASSWORD=password
55
56
57 idrac_port (optional, int, 443)
58 iDRAC port.
59
60
61 validate_certs (optional, bool, True)
62 If :literal:`false`\ , the SSL certificates will not be validated.
63
64 Configure :literal:`false` only on personally controlled sites where self-signed certificates are used.
65
66 Prior to collection version :literal:`5.0.0`\ , the :emphasis:`validate\_certs` is :literal:`false` by default.
67
68
69 ca_path (optional, path, None)
70 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
71
72
73 timeout (optional, int, 30)
74 The socket level timeout in seconds.
75
76
77
78
79
80 Notes
81 -----
82
83 .. note::
84 - Run this module from a system that has direct access to Dell iDRAC.
85 - This module supports both IPv4 and IPv6 address for :emphasis:`idrac\_ip`.
86 - This module does not support :literal:`check\_mode`.
87
88
89
90
91 Examples
92 --------
93
94 .. code-block:: yaml+jinja
95
96
97 ---
98 - name: Delete Lifecycle Controller job queue
99 dellemc.openmanage.idrac_lifecycle_controller_jobs:
100 idrac_ip: "192.168.0.1"
101 idrac_user: "user_name"
102 idrac_password: "user_password"
103 ca_path: "/path/to/ca_cert.pem"
104
105 - name: Delete Lifecycle Controller job using a job ID
106 dellemc.openmanage.idrac_lifecycle_controller_jobs:
107 idrac_ip: "192.168.0.1"
108 idrac_user: "user_name"
109 idrac_password: "user_password"
110 ca_path: "/path/to/ca_cert.pem"
111 job_id: "JID_801841929470"
112
113
114
115 Return Values
116 -------------
117
118 msg (always, str, Successfully deleted the job.)
119 Status of the delete operation.
120
121
122 status (success, dict, {'Message': 'The specified job was deleted', 'MessageID': 'SUP020', 'ReturnValue': '0'})
123 Details of the delete operation.
124
125
126 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.'}]}})
127 Details of the HTTP Error.
128
129
130
131
132
133 Status
134 ------
135
136
137
138
139
140 Authors
141 ~~~~~~~
142
143 - Felix Stephen (@felixs88)
144 - Anooja Vardhineni (@anooja-vardhineni)
145 - Saksham Nautiyal (@Saksham-Nautiyal)
146