📦: 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" chdir: "{{ mastodon_home }}/live"
changed_when: true 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 - name: Install mastodon
remote_user: mastodon remote_user: mastodon
ansible.builtin.command: ansible.builtin.command:
cmd: | cmd: |
bash -lic "yarn install --frozen-lockfile" bash -lic "yarn install --immutable"
chdir: "{{ mastodon_home }}/live" chdir: "{{ mastodon_home }}/live"
changed_when: true changed_when: true
@@ -83,4 +99,5 @@
ansible.builtin.command: ansible.builtin.command:
cmd: | cmd: |
bash -lic "yarn cache clean" bash -lic "yarn cache clean"
chdir: "{{ mastodon_home }}/live"
changed_when: true changed_when: true

View File

@@ -1,6 +1,6 @@
--- ---
mastodon_version: "4.2.13" mastodon_version: "4.3.0"
mastodon_nodejs_key_url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key" mastodon_nodejs_key_url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"
mastodon_nodejs_key_path: "/usr/share/keyrings/nodesource.gpg" mastodon_nodejs_key_path: "/usr/share/keyrings/nodesource.gpg"
@@ -8,4 +8,4 @@ mastodon_nodejs_key_path: "/usr/share/keyrings/nodesource.gpg"
mastodon_yarn_key_url: "https://dl.yarnpkg.com/debian/pubkey.gpg" mastodon_yarn_key_url: "https://dl.yarnpkg.com/debian/pubkey.gpg"
mastodon_yarn_key_path: "/usr/share/keyrings/yarnkey.gpg" mastodon_yarn_key_path: "/usr/share/keyrings/yarnkey.gpg"
mastodon_ruby_version: "3.2.3" mastodon_ruby_version: "3.3.5"