Skip to content

Commit

Permalink
fix: add cron tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Feb 21, 2017
1 parent 2bbf39a commit 671febf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
---
server_scripts_version: v0.2.18
server_scripts_version: v0.2.21
server_scripts_cron_tasks:
- name: "detect-viruses"
hour: 3
minute: 40
job: "ionice -c3 detect-viruses /home"
3 changes: 3 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
dependencies:
- { role: cron, cron_tasks: "{{server_scripts_cron_tasks}}" }

0 comments on commit 671febf

Please sign in to comment.