diff --git a/defaults/main.yml b/defaults/main.yml index 08124ac..48e3f6c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,2 +1,7 @@ --- -server_scripts_version: v0.2.18 \ No newline at end of file +server_scripts_version: v0.2.21 +server_scripts_cron_tasks: + - name: "detect-viruses" + hour: 3 + minute: 40 + job: "ionice -c3 detect-viruses /home" diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..ac6c9ed --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - { role: cron, cron_tasks: "{{server_scripts_cron_tasks}}" }