Update to 2021-01-05 10:00

master
Daniel Berteaud 4 years ago
parent 5840e5071a
commit f701bbf6fd
  1. 6
      roles/composer/tasks/install.yml
  2. 4
      roles/diagrams/defaults/main.yml
  3. 2
      roles/diagrams/tasks/archive_pre.yml
  4. 1
      roles/diagrams/tasks/install.yml
  5. 6
      roles/letsencrypt/vars/Debian-9.yml

@ -1,5 +1,11 @@
--- ---
- name: Install dependencies
yum:
name:
- git
tags: composer
- name: download composer - name: download composer
get_url: get_url:
url: https://getcomposer.org/installer url: https://getcomposer.org/installer

@ -1,11 +1,11 @@
--- ---
# Veresion of diagrams to deploy # Veresion of diagrams to deploy
diagrams_version: 13.8.8 diagrams_version: 14.1.8
# URL of the WAR file to deploy # URL of the WAR file to deploy
diagrams_war_url: https://github.com/jgraph/drawio/releases/download/v{{ diagrams_version }}/draw.war diagrams_war_url: https://github.com/jgraph/drawio/releases/download/v{{ diagrams_version }}/draw.war
# Expected sha1 of the WAR file # Expected sha1 of the WAR file
diagrams_war_sha1: 99bf8957ab3a4ea11a33387ccd824183007c3ddc diagrams_war_sha1: 77e3afd23658f8798a79753a6cfb3f71c0de56a1
# root directory of the installation # root directory of the installation
diagrams_root_dir: /opt/diagrams diagrams_root_dir: /opt/diagrams
# Should ansible manage upgrades, or just initial install ? # Should ansible manage upgrades, or just initial install ?

@ -5,5 +5,5 @@
tags: diagrams tags: diagrams
- name: Copy the war archive - name: Copy the war archive
copy: src={{ diagrams_root_dir }}/tomcat/webapps/draw.war dest={{ diagrams_root_dir }}/archives/{{ diagrams_current_version }} remote_src=True copy: src={{ diagrams_root_dir }}/webapps/draw.war dest={{ diagrams_root_dir }}/archives/{{ diagrams_current_version }} remote_src=True
tags: diagrams tags: diagrams

@ -10,5 +10,6 @@
- name: Move WAR to the webapp dir - name: Move WAR to the webapp dir
copy: src={{ diagrams_root_dir }}/tmp/draw.war dest={{ diagrams_root_dir }}/webapps/draw.war remote_src=True copy: src={{ diagrams_root_dir }}/tmp/draw.war dest={{ diagrams_root_dir }}/webapps/draw.war remote_src=True
notify: restart diagrams
tags: diagrams tags: diagrams

@ -0,0 +1,6 @@
---
letsencrypt_packages:
- python-pip
- python-setuptools
- curl
Loading…
Cancel
Save