2019-08-30 20:43:52 +02:00
|
|
|
---
|
|
|
|
- name: restart minifirewall
|
2019-10-03 16:44:21 +02:00
|
|
|
command: /etc/init.d/minifirewall restart
|
|
|
|
register: minifirewall_init_restart
|
|
|
|
failed_when: "'starting IPTables rules is now finish : OK' not in minifirewall_init_restart.stdout"
|
|
|
|
changed_when: "'starting IPTables rules is now finish : OK' in minifirewall_init_restart.stdout"
|
2019-10-07 18:28:25 +02:00
|
|
|
|
|
|
|
- name: 'created new jail'
|
2019-12-19 16:30:58 +01:00
|
|
|
command: "bkctld restart {{ evolinux_hostname }}"
|
2019-10-07 18:28:25 +02:00
|
|
|
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
|
2019-10-07 19:53:10 +02:00
|
|
|
|
|
|
|
- name: 'jail updated'
|
2020-03-19 20:51:32 +01:00
|
|
|
command: "bkctld restart {{ evolinux_hostname }}"
|
|
|
|
# - "bkctld sync {{ evolinux_hostname }}"
|
2019-10-07 19:53:10 +02:00
|
|
|
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
|
|
|
|
when: evobackup_client__hosts|length > 1
|