matrix-synapse/tasks/main.yaml
changeset 36 a8627367c7be
child 37 2ef98b7b40d4
equal deleted inserted replaced
35:87e0c39ac37d 36:a8627367c7be
       
     1 ---
       
     2 
       
     3 - name: install matrix synapse
       
     4   become: yes
       
     5   apt: name="matrix-synapse"
       
     6 
       
     7 - name: configure matrix synapse
       
     8   become: yes
       
     9   template:
       
    10     src: "homeserver.yaml.j2"
       
    11     dest: "/etc/matrix-synapse/homeserver.yaml"
       
    12   notify: restart matrix synapse service
       
    13 
       
    14 - name: configure matrix synapse server name
       
    15   become: yes
       
    16   template:
       
    17     src: "server_name.yaml.j2"
       
    18     dest: "/etc/matrix-synapse/conf.d/server_name.yaml"
       
    19   notify: restart matrix synapse service
       
    20 
       
    21 - name: ensure matrix synapse is started
       
    22   become: yes
       
    23   systemd: name="matrix-synapse.service" enabled="yes" state="started"