📦: mastodon v4.3.0

This commit is contained in:
VC
2024-10-08 20:29:20 +02:00
parent a99a134cde
commit 90a73079da
2 changed files with 20 additions and 3 deletions

View File

@@ -23,11 +23,27 @@
chdir: "{{ mastodon_home }}/live"
changed_when: true
- name: Enable corepack
remote_user: mastodon
ansible.builtin.command:
cmd: |
bash -lic "corepack enable"
chdir: "{{ mastodon_home }}/live"
changed_when: true
- name: Install yarn 4
remote_user: mastodon
ansible.builtin.command:
cmd: |
bash -lic "corepack prepare"
chdir: "{{ mastodon_home }}/live"
changed_when: true
- name: Install mastodon
remote_user: mastodon
ansible.builtin.command:
cmd: |
bash -lic "yarn install --frozen-lockfile"
bash -lic "yarn install --immutable"
chdir: "{{ mastodon_home }}/live"
changed_when: true
@@ -83,4 +99,5 @@
ansible.builtin.command:
cmd: |
bash -lic "yarn cache clean"
chdir: "{{ mastodon_home }}/live"
changed_when: true