Actually enable timer

This commit is contained in:
Jake Howard 2020-12-28 15:14:50 +00:00
parent 58879d2e1d
commit 4f1e54baab
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -6,6 +6,7 @@
- name: Enable logrotate timer - name: Enable logrotate timer
service: service:
name: logrotate.timer name: logrotate.timer
enabled: true
become: true become: true
when: ansible_os_family == 'Archlinux' when: ansible_os_family == 'Archlinux'
@ -15,4 +16,3 @@
dest: /etc/logrotate.d/fail2ban dest: /etc/logrotate.d/fail2ban
mode: "0600" mode: "0600"
become: true become: true
register: fail2ban_jail