Update to 2023-04-11 15:00

This commit is contained in:
Daniel Berteaud
2023-04-11 15:00:42 +02:00
parent 2a3d56fddc
commit 138c0bf3b2
55 changed files with 113 additions and 79 deletions

View File

@@ -11,7 +11,7 @@
- name: Install postgresql client
package:
name:
- postgresql14
- postgresql15
tags: taiga
- name: Stop services during upgrade
@@ -39,7 +39,7 @@
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ taiga_db_server | quote }}

View File

@@ -99,7 +99,8 @@
- name: load initial data
django_manage:
command: loaddata initial_project_templates
command: loaddata
fixtures: initial_project_templates
app_path: "{{ taiga_root_dir }}/app/back"
virtualenv: "{{ taiga_root_dir }}/venv"

View File

@@ -81,6 +81,8 @@
virtualenv: "{{ taiga_root_dir }}/venv"
virtualenv_command: /bin/python3.9 -m venv
environment:
PATH: "{{ (pg_version == 'default') | ternary('', '/usr/pgsql-' ~ pg_version ~ '/bin:') }}/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
tags: taiga
- block: