♻: move mastodon cron to mastodon role
This commit is contained in:
9
roles/mastodon/tasks/cron.yml
Normal file
9
roles/mastodon/tasks/cron.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- name: Cron for media tootctl
|
||||
ansible.builtin.cron:
|
||||
user: mastodon
|
||||
name: Mastodon tootctl
|
||||
minute: "0"
|
||||
hour: "2"
|
||||
job: "{{ mastodon_home }}/bin/remove_media.sh"
|
@@ -62,3 +62,6 @@
|
||||
|
||||
- name: Install mastodon
|
||||
ansible.builtin.include_tasks: mastodon.yml
|
||||
|
||||
- name: Install tootctl cron
|
||||
ansible.builtin.include_tasks: cron.yml
|
||||
|
Reference in New Issue
Block a user