Skip to content

Commit

Permalink
test(COLIMA): allow retrying container execution
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Aug 21, 2024
1 parent 97e5a80 commit faf6d9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/colima/molecule/common/tasks/verify_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
- name: Run Ubuntu Docker Container
ansible.builtin.command: docker run -t ubuntu:latest echo "Docker is working!"
changed_when: false
retries: 3
delay: 3
register: colima_molecule_docker_run_test
until: colima_molecule_docker_run_test is not failed

- name: Check Docker Processes
ansible.builtin.command: docker ps -a
Expand Down

0 comments on commit faf6d9b

Please sign in to comment.