Skip to content

Instantly share code, notes, and snippets.

@Ham5ter
Created February 14, 2017 16:06
Show Gist options
  • Save Ham5ter/9b6b6ff36563963ebfa1b9f531bd451d to your computer and use it in GitHub Desktop.
Save Ham5ter/9b6b6ff36563963ebfa1b9f531bd451d to your computer and use it in GitHub Desktop.
freshclam cronjob
---
- hosts: all
tasks:
- name: Creates daily Freshclam Cronjob
cron: special_time="daily"
name="Run Freshclam daily"
cron_file="freshclam.sh"
user="root"
job="/usr/bin/freshclam --quiet"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment