mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 03:35:45 +02:00
Update to 2024-07-16 12:00
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
# Penpot version to deploy
|
||||
penpot_version: 2.0.0
|
||||
penpot_version: 2.1.0
|
||||
# SHould ansible manage upgrades. If False, only the initial install will be done
|
||||
penpot_manage_upgrade: True
|
||||
|
||||
@@ -10,7 +10,7 @@ penpot_root_dir: /opt/penpot
|
||||
# URL of the archive
|
||||
penpot_archive_url: https://github.com/penpot/penpot/archive/refs/tags/{{ penpot_version }}.tar.gz
|
||||
# Expected sha256 of the archive
|
||||
penpot_archive_sha256: 133fc088b2e194ffdd3a9816c7fabcf9630699157ce28a242c81cb6283de6af6
|
||||
penpot_archive_sha256: 47b816b92896c0786196385150fb4a8c7e5d3240516f7d48da1c998910f5c006
|
||||
# User under which penpot will run. Will be created
|
||||
penpot_user: penpot
|
||||
|
||||
|
@@ -52,6 +52,10 @@
|
||||
shell: |
|
||||
corepack enable
|
||||
yarn set version 4.0.2
|
||||
{% if system_proxy is defined and system_proxy != '' %}
|
||||
yarn config set httpProxy {{ system_proxy }}
|
||||
yarn config set httpsProxy {{ system_proxy }}
|
||||
{% endif %}
|
||||
args:
|
||||
chdir: "{{ penpot_root_dir }}/tmp/penpot-{{ penpot_version }}/frontend"
|
||||
|
||||
@@ -63,6 +67,17 @@
|
||||
CURRENT_HASH: "{{ penpot_version }}"
|
||||
PATH: "/usr/lib/jvm/java-21/bin:/opt/penpot/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"
|
||||
|
||||
- name: Install yarn
|
||||
shell: |
|
||||
corepack enable
|
||||
yarn set version 4.0.2
|
||||
{% if system_proxy is defined and system_proxy != '' %}
|
||||
yarn config set httpProxy {{ system_proxy }}
|
||||
yarn config set httpsProxy {{ system_proxy }}
|
||||
{% endif %}
|
||||
args:
|
||||
chdir: "{{ penpot_root_dir }}/tmp/penpot-{{ penpot_version }}/exporter"
|
||||
|
||||
- name: Build penpot exporter
|
||||
command: ./scripts/build
|
||||
args:
|
||||
|
Reference in New Issue
Block a user