63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
---
|
|
|
|
- name: restart chrony
|
|
service: name=chrony state=restarted
|
|
|
|
- name: restart rsyslog
|
|
service: name=rsyslog state=restarted
|
|
|
|
- name: reload openssh
|
|
service: name=ssh state=reloaded
|
|
|
|
- name: restart openssh
|
|
service: name=ssh state=restarted
|
|
|
|
- name: restart resolvconf
|
|
service: name=resolvconf state=restarted
|
|
|
|
- name: reload mailer
|
|
service: "name={{ common_mailer_mailer }} state=reloaded"
|
|
|
|
- name: restart mailer
|
|
service: "name={{ common_mailer_mailer }} state=restarted"
|
|
|
|
- name: newaliases
|
|
command: newaliases
|
|
|
|
- name: apt-get update
|
|
apt: update_cache=yes
|
|
|
|
- name: restart networking
|
|
service: name=networking state=restarted
|
|
|
|
- name: iptables restore v4
|
|
listen: iptables restore
|
|
command: iptables-restore /etc/iptables/rules.v4
|
|
|
|
- name: iptables restore v6
|
|
listen: iptables restore
|
|
command: ip6tables-restore /etc/iptables/rules.v6
|
|
|
|
- name: iptables restore v4
|
|
listen: iptables restore void
|
|
command: iptables-restore /etc/iptables/iptables.rules
|
|
|
|
- name: iptables restore v6
|
|
listen: iptables restore void
|
|
command: ip6tables-restore /etc/iptables/ip6tables.rules
|
|
|
|
- name: snapper - reload fstab
|
|
command: mount -a
|
|
|
|
- name: restart smartd
|
|
service: name=smartd state=restarted
|
|
|
|
- name: zfs - start services
|
|
service: "name={{ item }} state=restarted"
|
|
with_items:
|
|
- zfs-import-cache
|
|
- zfs-import-scan
|
|
- zfs-mount
|
|
- zfs-share
|
|
listen: zfs restart
|