mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2023-04-11 15:00
This commit is contained in:
@@ -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 }}
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user