2019-10-12 13:52:04 +01:00
|
|
|
- name: 'Matrix: Repositories'
|
2019-05-27 12:56:29 +01:00
|
|
|
tags:
|
|
|
|
- install
|
2019-09-19 19:09:41 +01:00
|
|
|
- repos
|
|
|
|
- matrix
|
|
|
|
include: includes/repos.yaml
|
|
|
|
loop: "{{ linux_repos }}"
|
|
|
|
loop_control:
|
|
|
|
loop_var: repo
|
|
|
|
|
2019-10-12 13:52:04 +01:00
|
|
|
- name: 'Matrix: Packages'
|
2019-09-19 19:09:41 +01:00
|
|
|
tags:
|
|
|
|
- install
|
|
|
|
- packages
|
2019-05-27 12:56:29 +01:00
|
|
|
- matrix
|
|
|
|
package:
|
2019-09-19 19:09:41 +01:00
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
loop: "{{ linux_packages }}"
|
|
|
|
become: true
|
2019-10-12 13:52:04 +01:00
|
|
|
|
|
|
|
- name: 'Matrix: Configuration'
|
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- matrix
|
|
|
|
template:
|
|
|
|
src: 'templates/homeserver.yaml.j2'
|
|
|
|
dest: '/etc/matrix-synapse/homeserver.yaml'
|
|
|
|
mode: '0400'
|
|
|
|
owner: 'matrix-synapse'
|
|
|
|
group: 'nogroup'
|
|
|
|
become: yes
|