📦: mastodon v4.3.0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user