Skip to content

Commit

Permalink
Allow to retry adding a host in vbmc
Browse files Browse the repository at this point in the history
It seems from time to time vbmcd is slow. Allowing to retry to add the
host might help getting over some temporary issues.
  • Loading branch information
cjeanner authored and openshift-merge-bot[bot] committed Aug 26, 2024
1 parent bf3d440 commit a191b19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/virtualbmc/tasks/manage_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
{{
cifmw_virtualbmc_ipmi_base_port + _known_hosts
}}
register: _add_host
retries: 5
delay: 1
until: _add_host.rc == 0
ansible.builtin.command:
cmd: >-
podman exec {{ cifmw_virtualbmc_container_name }} vbmc
Expand Down

0 comments on commit a191b19

Please sign in to comment.