Update to 2022-01-28 21:00

This commit is contained in:
Daniel Berteaud
2022-01-28 21:00:08 +01:00
parent 9abf651e65
commit f45491ce0b
5 changed files with 20 additions and 17 deletions

View File

@@ -27,12 +27,10 @@
when: synapse_install_mode == 'upgrade'
tags: matrix
- name: Install or update dependencies in the virtual env
- name: Install dependencies in the virtual env
pip:
state: "{{ (synapse_install_mode == 'upgrade') | ternary('latest','present') }}"
virtualenv: "{{ synapse_root_dir }}/venv"
virtualenv_command: /usr/bin/virtualenv-3
virtualenv_python: /usr/bin/python3
virtualenv_command: "{{ synapse_python }} -m venv"
name:
- bleach
- matrix-synapse-ldap3
@@ -48,11 +46,10 @@
notify: restart synapse
tags: matrix
- name: Install or update synapse in a virtualenv
- name: Install synapse in the virtualenv
pip:
virtualenv: "{{ synapse_root_dir }}/venv"
virtualenv_command: /usr/bin/virtualenv-3
virtualenv_python: /usr/bin/python3
virtualenv_command: "{{ synapse_python }} -m venv"
name:
- matrix-synapse
version: "{{ synapse_version }}"
@@ -73,7 +70,7 @@
- name: Install REST auth module
get_url:
url: https://raw.githubusercontent.com/ma1uta/matrix-synapse-rest-password-provider/master/rest_auth_provider.py
dest: "{{ synapse_root_dir }}/venv/lib/python3.6/site-packages/"
dest: "{{ synapse_venv_lib_dir }}"
tags: matrix
- name: Create the PostgreSQL role