summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-03-04 06:56:49 +0200
committerLars Wirzenius <liw@liw.fi>2022-03-04 06:56:49 +0200
commit934d875af54ac4f66270b13290d4172a0a2387ff (patch)
tree1476e3f92557ba077e1d343a77923b9e637d2c4f /ansible
parentc6610b7b1e297d86b868d9bb5230cac0c783596e (diff)
downloadansibleness-934d875af54ac4f66270b13290d4172a0a2387ff.tar.gz
holywood2: read all files once a week
Sponsored-by: author
Diffstat (limited to 'ansible')
-rw-r--r--ansible/holywood2.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/holywood2.yml b/ansible/holywood2.yml
index 85ff30d..afc95a0 100644
--- a/ansible/holywood2.yml
+++ b/ansible/holywood2.yml
@@ -10,6 +10,11 @@
- holywood2
- smarthost-client
- self-updating-system
+ tasks:
+ - cron:
+ name: "scrub file systems"
+ special_time: weekly
+ job: "find /mnt/*/* -type f -exec cat '{}' ';' > /dev/null"
vars:
ansible_python_interpreter: /usr/bin/python3