Added evobackup-client role #83

Manually merged
Ghost merged 17 commits from evobackup-client into unstable 2020-02-06 22:31:45 +01:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 0b4095d8dd - Show all commits

View file

@ -6,10 +6,10 @@
changed_when: "'starting IPTables rules is now finish : OK' in minifirewall_init_restart.stdout"
- name: 'created new jail'
command: "bkctld start {{ evolinux_hostname }}"
command: "bkctld restart {{ evolinux_hostname }}"
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
- name: 'jail updated'
command: "bkctld start {{ evolinux_hostname }}"
command: "bkctld restart {{ evolinux_hostname }}"
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
when: evobackup_client__hosts|length > 1

View file

@ -8,7 +8,6 @@
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
notify:
- 'created new jail'
- 'jail updated'
tags:
- evobackup_client
- evobackup_client_jail