Fix E405 Remote package tasks should have a retry
This commit is contained in:
parent
a1991515a5
commit
c6922a2e48
|
@ -1,3 +1,8 @@
|
||||||
|
## v1.3.2
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
* Fix E405 Remote package tasks should have a retry.
|
||||||
|
|
||||||
## v1.3.1
|
## v1.3.1
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
state: '{{ xymon_cli_pkg_state }}'
|
state: '{{ xymon_cli_pkg_state }}'
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ xymon_cli_pkg_list }}'
|
- '{{ xymon_cli_pkg_list }}'
|
||||||
|
register: cli_result
|
||||||
|
until: cli_result is success
|
||||||
when: xymon_cli_manage|bool
|
when: xymon_cli_manage|bool
|
||||||
|
|
||||||
# Manage client configuration [[[1
|
# Manage client configuration [[[1
|
||||||
|
@ -57,6 +59,8 @@
|
||||||
- '{{ xymon_plug_apt_package }}'
|
- '{{ xymon_plug_apt_package }}'
|
||||||
when: (xymon_cli_manage|bool and
|
when: (xymon_cli_manage|bool and
|
||||||
xymon_plug_manage|bool)
|
xymon_plug_manage|bool)
|
||||||
|
register: apt_plug_result
|
||||||
|
until: apt_plug_result is success
|
||||||
notify: restart xymon-client service
|
notify: restart xymon-client service
|
||||||
|
|
||||||
- name: PLUGIN apt
|
- name: PLUGIN apt
|
||||||
|
@ -88,6 +92,8 @@
|
||||||
state: '{{ "present" if xymon_plug_mq_state else "absent" }}'
|
state: '{{ "present" if xymon_plug_mq_state else "absent" }}'
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ xymon_plug_mq_package }}'
|
- '{{ xymon_plug_mq_package }}'
|
||||||
|
register: mq_plug_result
|
||||||
|
until: mq_plug_result is success
|
||||||
when: (xymon_cli_manage|bool and
|
when: (xymon_cli_manage|bool and
|
||||||
xymon_plug_manage|bool)
|
xymon_plug_manage|bool)
|
||||||
notify: restart xymon-client service
|
notify: restart xymon-client service
|
||||||
|
@ -110,6 +116,8 @@
|
||||||
state: '{{ "present" if xymon_cli__plug_ipmi_state else "absent" }}'
|
state: '{{ "present" if xymon_cli__plug_ipmi_state else "absent" }}'
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ xymon_cli__plug_ipmi_package }}'
|
- '{{ xymon_cli__plug_ipmi_package }}'
|
||||||
|
register: ipmi_plug_result
|
||||||
|
until: ipmi_plug_result is success
|
||||||
when: (xymon_cli_manage|bool and
|
when: (xymon_cli_manage|bool and
|
||||||
xymon_plug_manage|bool)
|
xymon_plug_manage|bool)
|
||||||
notify: restart xymon-client service
|
notify: restart xymon-client service
|
||||||
|
@ -132,6 +140,8 @@
|
||||||
state: '{{ "present" if xymon_plug_libs_state else "absent" }}'
|
state: '{{ "present" if xymon_plug_libs_state else "absent" }}'
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ xymon_plug_libs_package }}'
|
- '{{ xymon_plug_libs_package }}'
|
||||||
|
register: libs_plug_result
|
||||||
|
until: libs_plug_result is success
|
||||||
when: (xymon_cli_manage|bool and
|
when: (xymon_cli_manage|bool and
|
||||||
xymon_plug_manage|bool)
|
xymon_plug_manage|bool)
|
||||||
notify: restart xymon-client service
|
notify: restart xymon-client service
|
||||||
|
|
Loading…
Reference in New Issue