mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2022-01-28 00:00
This commit is contained in:
@@ -4,15 +4,9 @@
|
||||
package: name={{ taiga_packages }}
|
||||
tags: taiga
|
||||
|
||||
- name: Stop services during upgrade
|
||||
service: name={{ item }} state=stopped
|
||||
loop:
|
||||
- taiga-back
|
||||
- taiga-async
|
||||
- taiga-events
|
||||
- taiga-protected
|
||||
- name: Wipe the venv during upgrades
|
||||
file: path={{ taiga_root_dir }}/venv state=absent
|
||||
when: taiga_install_mode == 'upgrade'
|
||||
tags: taiga
|
||||
|
||||
- when: taiga_install_mode != 'none'
|
||||
block:
|
||||
@@ -53,8 +47,6 @@
|
||||
state: "{{ (taiga_install_mode == 'upgrade') | ternary('latest', 'present') }}"
|
||||
virtualenv: "{{ taiga_root_dir }}/venv"
|
||||
virtualenv_command: /bin/python3.9 -m venv
|
||||
#environment:
|
||||
# PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/pgsql-14/bin/
|
||||
|
||||
- name: Install the contrib-protected plugin
|
||||
pip:
|
||||
@@ -62,6 +54,22 @@
|
||||
virtualenv: "{{ taiga_root_dir }}/venv"
|
||||
virtualenv_command: /bin/python3.9 -m venv
|
||||
|
||||
- name: Clone the openid-auth plugin
|
||||
git:
|
||||
repo: https://github.com/robrotheram/taiga-contrib-openid-auth.git
|
||||
dest: "{{ taiga_root_dir }}/app/back/taiga-contrib-openid-auth"
|
||||
|
||||
- name: Install the openid-auth backend plugin
|
||||
command: "{{ taiga_root_dir }}/venv/bin/pip3 install -e ."
|
||||
args:
|
||||
chdir: "{{ taiga_root_dir }}/app/back/taiga-contrib-openid-auth/back"
|
||||
|
||||
- name: Create the front plugin dir
|
||||
file: path={{ taiga_root_dir }}/app/front/dist/plugins/ state=directory
|
||||
|
||||
- name: Install the openid-auth front plugin
|
||||
copy: src={{ taiga_root_dir }}/tmp/taiga-contrib-openid-auth/front/dist/ dest={{ taiga_root_dir }}/app/front/dist/plugins/openid-auth/ remote_src=True
|
||||
|
||||
- name: Install dependencies for taiga-events
|
||||
npm:
|
||||
path: "{{ taiga_root_dir }}/app/events/"
|
||||
|
Reference in New Issue
Block a user