# idrac_job_queue Role to manage the iDRAC(iDRAC8 and iDRAC9 only) lifecycle controller job queue. ## Requirements ### Development Requirements to develop and contribute to the role. ``` ansible docker molecule python ``` ### Production Requirements to use the role. ``` ansible python ``` ### Ansible collections Collections required to use the role ``` dellemc.openmanage ``` ## Role Variables
Name Required Default Value Choices Type Description
hostname true str - iDRAC IP Address
username true str - iDRAC username
password true str - iDRAC user password.
https_port false 443 int - iDRAC port.
validate_certs false true bool - If C(false), the SSL certificates will not be validated.
- Configure C(false) only on personally controlled sites where self-signed certificates are used.
ca_path false path - The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
https_timeout false 30 int - The HTTPS socket level timeout in seconds.
clear_job_queue false false bool - Clears the job queue of the iDRAC.
job_id false false str - Id of the job to be deleted.
- If I(clear_job_queue) is C(true) then the I(job_id) will be ignored.
force false false bool - Clears the job queue of the iDRAC forcefully.
## Fact variables
Name Sample Description
idrac_job_queue_out {msg: "The job queue can been cleared successfully" } Module output of idrac job queue
## Examples ----- ``` - name: Delete a Job ansible.builtin.include_role: name: dellemc.openmanage.idrac_job_queue: vars: hostname: "192.168.0.1" username: "username" password: "password" job_id: JID_XXXXXXXXXXXX - name: Clear the job queue ansible.builtin.include_role: name: dellemc.openmanage.idrac_job_queue: vars: hostname: "192.168.0.1" username: "username" password: "password" clear_job_queue: true - name: Clear the job queue forcefully ansible.builtin.include_role: name: dellemc.openmanage.idrac_job_queue: vars: hostname: "192.168.0.1" username: "username" password: "password" clear_job_queue: true force: true ``` ## Author Information ------------------ Dell Technologies
Kritika Bhateja (Kritika.Bhateja@Dell.com) 2023