add signald
This commit is contained in:
parent
caff5f111e
commit
de7947969b
2 changed files with 19 additions and 2 deletions
3
TODO.md
3
TODO.md
|
@ -1,6 +1,5 @@
|
|||
# TODO
|
||||
|
||||
- install and configure signald https://gitlab.com/signald/signald
|
||||
- Setup prometheus somehow (maybe not in the role)
|
||||
- Setup prometheus (bridge and signald) somehow (maybe not in the role)
|
||||
- Add link to postgres role
|
||||
- Use local bot avatar
|
||||
|
|
|
@ -14,9 +14,21 @@
|
|||
template: template0
|
||||
no_log: true
|
||||
|
||||
- name: Install the pgp key for the signald repo.
|
||||
copy:
|
||||
src: signald-keyring.gpg
|
||||
dest: /usr/share/keyrings/signald-keyring.gpg
|
||||
mode: 0644
|
||||
|
||||
- name: Add synapse repo to source list
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb [signed-by=/usr/share/keyrings/signald-keyring.gpg] https://updates.signald.org unstable main"
|
||||
state: present
|
||||
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- signald
|
||||
- python3
|
||||
- python3-virtualenv
|
||||
- python3-pip
|
||||
|
@ -29,6 +41,12 @@
|
|||
retries: 3
|
||||
until: apt_result is succeeded
|
||||
|
||||
- name: Enable the signald daemon
|
||||
systemd:
|
||||
name: signald
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Create the mautrix-signal user
|
||||
user:
|
||||
name: mautrix-signal
|
||||
|
|
Loading…
Reference in a new issue