matrix-synapse/tasks/main.yaml
changeset 37 2ef98b7b40d4
parent 36 a8627367c7be
child 39 90b1b7c4be70
equal deleted inserted replaced
36:a8627367c7be 37:2ef98b7b40d4
     1 ---
     1 ---
       
     2 
       
     3 - name: add debian backports keys
       
     4   become: yes
       
     5   apt_key:
       
     6     keyserver: "keyserver.ubuntu.com "
       
     7     id: "{{item}}"
       
     8   loop:
       
     9     - "04EE7237B7D453EC"
       
    10     - "648ACFD622F3D138"
       
    11 
       
    12 - name: add matrix repo
       
    13   become: yes
       
    14   apt_repository: repo="deb http://deb.debian.org/debian buster-backports main"
     2 
    15 
     3 - name: install matrix synapse
    16 - name: install matrix synapse
     4   become: yes
    17   become: yes
     5   apt: name="matrix-synapse"
    18   apt:
       
    19     name: "matrix-synapse"
       
    20     state: "latest"
       
    21     default_release: "buster-backports"
       
    22   notify: restart matrix synapse service
     6 
    23 
     7 - name: configure matrix synapse
    24 - name: configure matrix synapse
     8   become: yes
    25   become: yes
     9   template:
    26   template:
    10     src: "homeserver.yaml.j2"
    27     src: "homeserver.yaml.j2"