Files
ansible-fet/roles/ariane/handlers/main.yml
Daniel A. Maierhofer a983059a41 Add smartd
2018-03-17 14:18:49 +01:00

19 lines
375 B
YAML

---
- name: iptables restore
command: iptables-restore /etc/iptables/rules.v4
- name: zfs - start services
service: "name={{ item }} state=restarted"
with_items:
- zfs-import-cache
- zfs-import-scan
- zfs-mount
- zfs-share
listen: zfs restart
- name: snapper - reload fstab
command: mount -a
- name: restart smartd
service: name=smartd state=restarted