mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
24
roles/matrix_synapse_admin/tasks/install.yml
Normal file
24
roles/matrix_synapse_admin/tasks/install.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
|
||||
- when: synadm_install_mode != 'none'
|
||||
block:
|
||||
- name: Download Synapse Admin
|
||||
get_url:
|
||||
url: "{{ synadm_archive_url }}"
|
||||
dest: "{{ synadm_root_dir }}/tmp/"
|
||||
checksum: "sha1:{{ synadm_archive_sha1 }}"
|
||||
|
||||
- name: Extract archive
|
||||
unarchive:
|
||||
src: "{{ synadm_root_dir }}/tmp/synapse-admin-{{ synadm_version }}.tar.gz"
|
||||
dest: "{{ synadm_root_dir }}/tmp/"
|
||||
remote_src: True
|
||||
|
||||
- name: Move the content to the final top directory
|
||||
synchronize:
|
||||
src: "{{ synadm_root_dir }}/tmp/synapse-admin-{{ synadm_version }}/"
|
||||
dest: "{{ synadm_root_dir }}/web/"
|
||||
recursive: True
|
||||
delete: True
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
tags: matrix
|
Reference in New Issue
Block a user