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
|
# TODO
|
||||||
|
|
||||||
- install and configure signald https://gitlab.com/signald/signald
|
- Setup prometheus (bridge and signald) somehow (maybe not in the role)
|
||||||
- Setup prometheus somehow (maybe not in the role)
|
|
||||||
- Add link to postgres role
|
- Add link to postgres role
|
||||||
- Use local bot avatar
|
- Use local bot avatar
|
||||||
|
|
|
@ -14,9 +14,21 @@
|
||||||
template: template0
|
template: template0
|
||||||
no_log: true
|
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
|
- name: Install dependencies
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
- signald
|
||||||
- python3
|
- python3
|
||||||
- python3-virtualenv
|
- python3-virtualenv
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
@ -29,6 +41,12 @@
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
|
- name: Enable the signald daemon
|
||||||
|
systemd:
|
||||||
|
name: signald
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
- name: Create the mautrix-signal user
|
- name: Create the mautrix-signal user
|
||||||
user:
|
user:
|
||||||
name: mautrix-signal
|
name: mautrix-signal
|
||||||
|
|
Loading…
Reference in a new issue