️: clean yarn cache afterwards

This commit is contained in:
VC
2024-09-19 10:07:24 +02:00
parent 59b5824b16
commit 0c36d1a3ac
2 changed files with 14 additions and 0 deletions

View File

@@ -77,3 +77,10 @@
- "mastodon-sidekiq.service" - "mastodon-sidekiq.service"
- "mastodon-streaming@4000.service" - "mastodon-streaming@4000.service"
- "mastodon-web.service" - "mastodon-web.service"
- name: Clean yarn cache
remote_user: mastodon
ansible.builtin.command:
cmd: |
bash -lic "yarn cache clean"
changed_when: true

View File

@@ -95,3 +95,10 @@
daemon_reload: true daemon_reload: true
state: restarted # restart everytime, this is simpler state: restarted # restart everytime, this is simpler
enabled: true enabled: true
- name: Clean yarn cache
remote_user: peertube
ansible.builtin.command:
cmd: |
bash -lic "yarn cache clean"
changed_when: true