mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 02:03:09 +02:00
25 lines
747 B
YAML
25 lines
747 B
YAML
---
|
|
|
|
- when: synadm_install_mode != 'none'
|
|
block:
|
|
- name: Download Synapse Admin
|
|
get_url:
|
|
url: "{{ synadm_archive_url }}"
|
|
dest: "{{ synadm_root_dir }}/tmp/"
|
|
checksum: "sha256:{{ synadm_archive_sha256 }}"
|
|
|
|
- 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
|