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 4, 2018
1 parent 0d3720a commit f8269bb
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 @@ -4,11 +4,17 @@
package:
name: "{{ httpd_packages }}"
state: "{{ httpd_package_state }}"
register: httpd_install_apache_httpd
until: httpd_install_apache_httpd is succeeded
retries: 3

- name: install requirements
pip:
name: "{{ httpd_requirements }}"
state: present
register: httpd_install_requirements
until: httpd_install_requirements is succeeded
retries: 3

- name: modify selinux settings
seboolean:
Expand Down

0 comments on commit f8269bb

Please sign in to comment.