Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bmc fw update: use bmc_fw_update_job_wait argument to add when statement in the task #21

Closed
glimchb opened this issue Feb 20, 2024 · 0 comments · Fixed by #54 or #1
Closed

bmc fw update: use bmc_fw_update_job_wait argument to add when statement in the task #21

glimchb opened this issue Feb 20, 2024 · 0 comments · Fixed by #54 or #1
Assignees

Comments

@glimchb
Copy link
Member

glimchb commented Feb 20, 2024

from #2 add when statement to:

- name: Get the status of an update operation in a loop
  community.general.redfish_info:
    category: Update
    command: GetUpdateStatus
    baseuri: "{{ inventory_hostname }}"
    username: "{{ dpu_bmc_username }}"
    password: "{{ dpu_bmc_password }}"
    update_handle: "{{ result_update_task.return_values.update_status.handle }}"
  register: update_progress
  until: update_progress.redfish_facts.update_status.status != 'Running'
  retries: 60
  delay: 30
  delegate_to: localhost
glimchb added a commit that referenced this issue Mar 15, 2024
Fixes #21 

Signed-off-by: Boris Glimcher <[email protected]>
@glimchb glimchb self-assigned this Mar 15, 2024
glimchb added a commit that referenced this issue Mar 18, 2024
Fixes #21

Signed-off-by: Boris Glimcher <[email protected]>
glimchb added a commit that referenced this issue Mar 27, 2024
Fixes #21

Signed-off-by: Boris Glimcher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant