23 lines
580 B
YAML
23 lines
580 B
YAML
|
#!/usr/bin/ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
---
|
||
|
- name: Set up Matrix
|
||
|
block:
|
||
|
- name: Set up repos
|
||
|
block:
|
||
|
- name: Add repo keys
|
||
|
apt_key:
|
||
|
url: "{{ item }}"
|
||
|
loop:
|
||
|
- "https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg"
|
||
|
- name: Add repos
|
||
|
apt_repository:
|
||
|
repo: "{{ item }}"
|
||
|
loop:
|
||
|
- "deb https://packages.matrix.org/debian/ bionic main"
|
||
|
- name: Install packages
|
||
|
apt:
|
||
|
name:
|
||
|
- "matrix-synapse-py3"
|
||
|
become: yes
|