ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit 89f3faa1d1c2e2a8a5c5a5fa894d82c3d60c9344
parent d5ffb3c6a47f5ff5d0e332862a1d410cb6a07e6d
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Mon,  4 Nov 2019 01:56:33 +0200

synapse: Init Synapse (Matrix) role

Diffstat:
ansible/playbooks/synapse.yml | 18++++++++++++++++++
ansible/roles/synapse/defaults/main.yml | 8++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/ansible/playbooks/synapse.yml b/ansible/playbooks/synapse.yml @@ -0,0 +1,18 @@ +--- + +- name: Manage Synapse server (Matrix) + hosts: [ 'matrix' ] + become: True + + environment: '{{ inventory__environment | d({}) + | combine(inventory__group_environment | d({})) + | combine(inventory__host_environment | d({})) }}' + + roles: + + - role: debops.keyring + tags: [ 'role::keyring', 'skip::keyring', 'role::nginx' ] + keyring__dependent_apt_keys: + - '{{ synapse__keyring__dependent_apt_keys }}' + + - role: synapse diff --git a/ansible/roles/synapse/defaults/main.yml b/ansible/roles/synapse/defaults/main.yml @@ -0,0 +1,7 @@ +--- + +synapse__keyring__dependent_apt_keys: + - id: AAF9AE843A7584B5A3E4CD2BCF45A512DE2DA058 + url: 'https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg' + repo: 'deb https://packages.matrix.org/debian/ {{ ansible_distribution_release }} main' + state: 'present'+ \ No newline at end of file