Update to 2021-02-26 18:00

master
Daniel Berteaud 4 years ago
parent 7a3897fc6c
commit 6ad55ee0a2
  1. 4
      roles/appsmith/defaults/main.yml
  2. 10
      roles/appsmith/tasks/archive_pre.yml

@ -1,11 +1,11 @@
---
# Version to deploy
appsmith_version: 1.3.5.1
appsmith_version: 1.4
# URL of the source archive
appsmith_archive_url: https://github.com/appsmithorg/appsmith/archive/v{{ appsmith_version }}.tar.gz
# sha1sum of the archive
appsmith_archive_sha1: a726767f37cbe6ddcbc95d4857cb1861a6d6b9ab
appsmith_archive_sha1: 968129f5af813a85087ab096055c740f90318395
# Root directory where appsmith will be installed
appsmith_root_dir: /opt/appsmith

@ -21,5 +21,13 @@
tags: appsmith
- name: Dump mongo database
command: mongodump --uri {{ appsmith_mongo_url }} --out {{ appsmith_root_dir }}/archives/{{ appsmith_current_version }}/
shell: |
mongodump --quiet \
--out {{ appsmith_root_dir }}/archives/{{ appsmith_current_version }}/ \
--uri \
{% if appsmith_mongo_pass is defined and appsmith_mongo_pass != False %}
{{ appsmith_mongo_url | urlsplit('scheme') }}://{{ appsmith_mongo_user }}:{{ appsmith_mongo_pass | urlencode | regex_replace('/','%2F') }}@{{ appsmith_mongo_url | urlsplit('hostname') }}{% if appsmith_mongo_url | urlsplit('port') %}:{{ appsmith_mongo_url | urlsplit('port') }}{% endif %}{{ appsmith_mongo_url | urlsplit('path') }}?{{ appsmith_mongo_url | urlsplit('query') }}
{% else %}
{{ appsmith_mongo_url }}
{% endif %}
tags: appsmith

Loading…
Cancel
Save