♻: move mastodon cron to mastodon role

This commit is contained in:
VC
2025-02-14 20:45:58 +01:00
parent 88a1b9d738
commit 3a65cfe2a8
5 changed files with 5 additions and 6 deletions

View File

@@ -9,6 +9,3 @@
- name: Oolatoocs for NintendojoFR
ansible.builtin.include_tasks: oolatoocs.yml
when: inventory_hostname in groups['mastodonservers']
- name: Tootctl for mastodon
ansible.builtin.include_tasks: tootctl.yml
when: inventory_hostname in groups['mastodonservers']

View File

@@ -1,9 +0,0 @@
---
- name: Cron for media tootctl
ansible.builtin.cron:
user: mastodon
name: Mastodon tootctl
minute: "0"
hour: "2"
job: "{{ mastodon_home }}/bin/remove_media.sh"