Update to 2022-01-29 13:00

This commit is contained in:
Daniel Berteaud
2022-01-29 13:00:05 +01:00
parent f45491ce0b
commit 013c387bca
9 changed files with 82 additions and 36 deletions

View File

@@ -9,14 +9,52 @@
- "{{ role_path }}/vars/{{ ansible_os_family }}.yml"
tags: taiga
# Detect installed version (if any)
# Detect installed version (if any), and decide if ansible should install/upgrade
- set_fact: taiga_install_mode='none'
tags: taiga
- block:
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ taiga_root_dir }}"
- version: "{{ taiga_version }}"
- version: "{{ taiga_archives['back'].version }}"
- version_file: ansible_version_back
- set_fact: taiga_install_mode={{ (install_mode == 'upgrade' and not taiga_manage_upgrade) | ternary('none',install_mode) }}
- set_fact: taiga_current_version={{ current_version | default('') }}
when: taiga_install_mode == 'none'
- set_fact: taiga_version_back={{ current_version }}
tags: taiga
- block:
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ taiga_root_dir }}"
- version: "{{ taiga_archives['front'].version }}"
- version_file: ansible_version_front
- set_fact: taiga_install_mode={{ (install_mode == 'upgrade' and not taiga_manage_upgrade) | ternary('none',install_mode) }}
when: taiga_install_mode == 'none'
- set_fact: taiga_version_front={{ current_version }}
tags: taiga
- block:
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ taiga_root_dir }}"
- version: "{{ taiga_archives['events'].version }}"
- version_file: ansible_version_events
- set_fact: taiga_install_mode={{ (install_mode == 'upgrade' and not taiga_manage_upgrade) | ternary('none',install_mode) }}
when: taiga_install_mode == 'none'
- set_fact: taiga_version_events={{ current_version }}
tags: taiga
- block:
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ taiga_root_dir }}"
- version: "{{ taiga_archives['protected'].version }}"
- version_file: ansible_version_protected
- set_fact: taiga_install_mode={{ (install_mode == 'upgrade' and not taiga_manage_upgrade) | ternary('none',install_mode) }}
when: taiga_install_mode == 'none'
- set_fact: taiga_version_protected={{ current_version }}
tags: taiga
# Generate a password for the database if needed