♻: 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

@@ -1,3 +0,0 @@
---
mastodon_home: "/srv/mastodon"

View File

@@ -62,3 +62,6 @@
- name: Install mastodon
ansible.builtin.include_tasks: mastodon.yml
- name: Install tootctl cron
ansible.builtin.include_tasks: cron.yml

View File

@@ -9,3 +9,5 @@ mastodon_yarn_key_url: "https://dl.yarnpkg.com/debian/pubkey.gpg"
mastodon_yarn_key_path: "/usr/share/keyrings/yarnkey.gpg"
mastodon_ruby_version: "3.3.5"
mastodon_home: "/srv/mastodon"

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']