feat: add remove media and preview cards to mastodon

This commit is contained in:
VC
2024-07-05 11:53:29 +02:00
parent a619ca74dd
commit 7af0cd8507
7 changed files with 31 additions and 5 deletions

View File

@@ -29,6 +29,23 @@
args:
chdir: "{{ mastodon_home }}/live"
- name: create bin dir
remote_user: mastodon
file:
path: "{{ mastodon_home }}/bin"
state: directory
mode: '0750'
- name: template scripts
remote_user: mastodon
template:
src: "{{ item }}.j2"
dest: "{{ mastodon_home }}/bin/{{ item }}"
mode: '0750'
loop:
- remove_media.sh
- remove_preview_cards.sh
- name: install services
template:
src: "{{ item }}.j2"