ansible/matrix.yml

29 lines
1.6 KiB
YAML
Raw Normal View History

2022-06-14 20:33:48 +00:00
- hosts: octo.fuz.re
tasks:
- name: synapse installé et upgradé
become: yes
apt:
name: matrix-synapse
update_cache: yes
2022-06-14 22:14:45 +00:00
- name: Config Synapse conforme à ce qu'il y a dans ce dépôt Ansible
template:
2022-06-14 20:50:44 +00:00
src: templates/homeserver.yaml.j2
2022-06-14 20:59:43 +00:00
dest: /etc/matrix-synapse/homeserver.yaml
2022-06-16 16:15:30 +00:00
2022-06-14 20:59:43 +00:00
vars:
2022-06-16 16:15:30 +00:00
- matrix_server_name: matrix.fuz.re
- synapse_postgres_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
65636365623364333261383933393663356536646562653539343765663631613333323231613564
3836333964313235373865376235373934323861396339330a353637633333386434306533363166
36373238633939303261666263303562653233313339326638393032343531613435326436393739
6535346265653732380a363738333836366334633264303130336435323637303037373563306266
3235
- synapse_turn_secret: !vault |
$ANSIBLE_VAULT;1.1;AES256
32616461613066343434373265376663653230393837313264636130623963383636333739333561
6434613031303161656531303639633437613132336131660a333466356165616434646366333765
31653164633930326434643339616231616235613062663733326339653830306566313735306339
3831646665393963390a636332353233396462663831623966373437306531663331333233363361
31383766356137636661306134326236656666623432656163616132663530343566