Browse Source

hotfix jail updated task in evobackup-client

Found out I wasnt using the right syntax for chaining commands, will fix later.
log2mail-beats
Patrick Marchand 1 year ago
parent
commit
9d7b4dd52d
  1. 5
      evobackup-client/handlers/main.yml

5
evobackup-client/handlers/main.yml

@ -10,8 +10,7 @@
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
- name: 'jail updated'
command:
- "bkctld restart {{ evolinux_hostname }}"
- "bkctld sync {{ evolinux_hostname }}"
command: "bkctld restart {{ evolinux_hostname }}"
# - "bkctld sync {{ evolinux_hostname }}"
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
when: evobackup_client__hosts|length > 1
Loading…
Cancel
Save