Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
[405] Remote package tasks should have a retry
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Dec 4, 2018
1 parent 54723fe commit a6e9934
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tasks/main.yml
Expand Up @@ -12,12 +12,14 @@
state: present
when:
- ansible_pkg_mgr == "yum"
register: install_software_yum
register: release_install_software_yum
until: release_install_software_yum
retries: 3

- name: reboot for release
include_role:
name: robertdebock.reboot
when:
- install_software_yum.changed
- release_install_software_yum.changed
tags:
- skip_ansible_lint

0 comments on commit a6e9934

Please sign in to comment.