Add logrotate,iptables,snapper and smartd

This commit is contained in:
Daniel A. Maierhofer
2018-07-13 14:19:06 +02:00
parent 1a0adb219d
commit f58be4106c
10 changed files with 103 additions and 2 deletions

View File

@@ -16,13 +16,22 @@
service: name=resolvconf state=restarted
- name: reload mailer
service: name="{{ common_mailer_mailer }}" state=reloaded
service: "name={{ common_mailer_mailer }} state=reloaded"
- name: restart mailer
service: name="{{ common_mailer_mailer }}" state=restarted
service: "name={{ common_mailer_mailer }} state=restarted"
- name: newaliases
command: newaliases
- name: apt-get update
apt: update_cache=yes
- name: iptables restore
command: iptables-restore /etc/iptables/rules.v4 && iptables-restore /etc/iptables/rules.v6
- name: snapper - reload fstab
command: mount -a
- name: restart smartd
service: name=smartd state=restarted