dotfiles/.ansible/roles/matrix_server/tasks/main.yaml

33 lines
596 B
YAML
Raw Normal View History

2019-10-12 13:52:04 +01:00
- name: 'Matrix: Repositories'
tags:
- install
- 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'
tags:
- install
- packages
- matrix
package:
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