forked from data.coop/ansible
Mastodon: Fix container name for crontab cleanup jobs
This commit is contained in:
parent
a95c3ea17e
commit
4c65521447
|
@ -4,7 +4,7 @@
|
||||||
cron:
|
cron:
|
||||||
name: Clean Mastodon media data older than a week
|
name: Clean Mastodon media data older than a week
|
||||||
cron_file: ansible_mastodon_clean_media
|
cron_file: ansible_mastodon_clean_media
|
||||||
job: docker exec mastodon_web_1 tootctl media remove --days 7
|
job: docker exec mastodon-web-1 tootctl media remove --days 7
|
||||||
special_time: daily
|
special_time: daily
|
||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
cron:
|
cron:
|
||||||
name: Clean Mastodon preview card data older than two weeks
|
name: Clean Mastodon preview card data older than two weeks
|
||||||
cron_file: ansible_mastodon_clean_preview_cards
|
cron_file: ansible_mastodon_clean_preview_cards
|
||||||
job: docker exec mastodon_web_1 tootctl preview_cards remove --days 14
|
job: docker exec mastodon-web-1 tootctl preview_cards remove --days 14
|
||||||
special_time: daily
|
special_time: daily
|
||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
|
|
Loading…
Reference in a new issue