Fix E405 Remote package tasks should have a retry

This commit is contained in:
Jeremy Gardais 2019-02-06 11:03:34 +01:00
parent a1991515a5
commit c6922a2e48
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
## v1.3.2
### Enhancements
* Fix E405 Remote package tasks should have a retry.
## v1.3.1
### Fix

View File

@ -17,6 +17,8 @@
state: '{{ xymon_cli_pkg_state }}'
with_items:
- '{{ xymon_cli_pkg_list }}'
register: cli_result
until: cli_result is success
when: xymon_cli_manage|bool
# Manage client configuration [[[1
@ -57,6 +59,8 @@
- '{{ xymon_plug_apt_package }}'
when: (xymon_cli_manage|bool and
xymon_plug_manage|bool)
register: apt_plug_result
until: apt_plug_result is success
notify: restart xymon-client service
- name: PLUGIN apt
@ -88,6 +92,8 @@
state: '{{ "present" if xymon_plug_mq_state else "absent" }}'
with_items:
- '{{ xymon_plug_mq_package }}'
register: mq_plug_result
until: mq_plug_result is success
when: (xymon_cli_manage|bool and
xymon_plug_manage|bool)
notify: restart xymon-client service
@ -110,6 +116,8 @@
state: '{{ "present" if xymon_cli__plug_ipmi_state else "absent" }}'
with_items:
- '{{ xymon_cli__plug_ipmi_package }}'
register: ipmi_plug_result
until: ipmi_plug_result is success
when: (xymon_cli_manage|bool and
xymon_plug_manage|bool)
notify: restart xymon-client service
@ -132,6 +140,8 @@
state: '{{ "present" if xymon_plug_libs_state else "absent" }}'
with_items:
- '{{ xymon_plug_libs_package }}'
register: libs_plug_result
until: libs_plug_result is success
when: (xymon_cli_manage|bool and
xymon_plug_manage|bool)
notify: restart xymon-client service