Skip to content

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 3, 2018
1 parent 7616c59 commit ffcf3ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
- ensure logfiles exists
- stop clamav
- update virus definitions
register: clamav_install_clamav_software
until: clamav_install_clamav_software is succeeded
retries: 3

- name: allowing system virus scanning
seboolean:
Expand Down Expand Up @@ -37,6 +40,9 @@
- ansible_selinux is defined
- ansible_selinux
- ansible_selinux.status == "enabled"
register: clamav_install_required_selinux_software
until: clamav_install_required_selinux_software is succeeded
retries: 3

- name: place selinux type enforcement
copy:
Expand Down

0 comments on commit ffcf3ad

Please sign in to comment.