Update to 2024-04-25 18:01

This commit is contained in:
Daniel Berteaud 2024-04-25 18:01:10 +02:00
parent 641db4ae9d
commit d40e6da998
3 changed files with 14 additions and 3 deletions

View File

@ -18,8 +18,12 @@
- name: Install babashka binary
copy:
src: /tmp/bb
dest: /usr/local/bin/bb
dest: /usr/local/bin/bb.real
remote_src: True
mode: 755
tags: bb
- name: Install Babashka wrapper for proxy support
template: src=bb.j2 dest=/usr/local/bin/bb mode=755
tags: bb

View File

@ -0,0 +1,7 @@
#!/bin/sh
exec /usr/local/bin/bb.real \
{% if system_proxy is defined and system_proxy != '' %}
-Dhttp.proxyHost={{ system_proxy | urlsplit('hostname') }} -Dhttp.proxyPort={{ system_proxy | urlsplit('port') }} -Dhttps.proxyHost={{ system_proxy | urlsplit('hostname') }} -Dhttps.proxyPort={{ system_proxy | urlsplit('port') }} \
{% endif %}
$@

View File

@ -1,7 +1,7 @@
---
# Penpot version to deploy
penpot_version: 1.19.2
penpot_version: 2.0.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: 14de5b71f13f0fd542234f16fa5a307fbee7088bdfa343a53ff923b3f95f4edb
penpot_archive_sha256: 133fc088b2e194ffdd3a9816c7fabcf9630699157ce28a242c81cb6283de6af6
# User under which penpot will run. Will be created
penpot_user: penpot