feat: add remove media and preview cards to mastodon
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user