dendrite/server/tasks/main.yaml
changeset 169 f4f9b52ede46
parent 168 8e61e4bb714b
child 174 431c6d5e5dd4
equal deleted inserted replaced
168:8e61e4bb714b 169:f4f9b52ede46
    50     path: "{{item}}"
    50     path: "{{item}}"
    51     state: "directory"
    51     state: "directory"
    52     owner: "{{dendrite_user}}"
    52     owner: "{{dendrite_user}}"
    53     group: "{{dendrite_user}}"
    53     group: "{{dendrite_user}}"
    54     mode: "0755"
    54     mode: "0755"
    55   notify: reload service
    55   notify: restart service
    56   loop:
    56   loop:
    57     - "{{dendrite_dir}}"
    57     - "{{dendrite_dir}}"
    58     - "{{dendrite_dir}}/{{dendrite_instance}}"
    58     - "{{dendrite_dir}}/{{dendrite_instance}}"
    59 
    59 
    60 - name: install keys
    60 - name: install keys
    88     src: "dendrite.yaml.j2"
    88     src: "dendrite.yaml.j2"
    89     dest: "{{dendrite_dir}}/{{dendrite_instance}}/dendrite.yaml"
    89     dest: "{{dendrite_dir}}/{{dendrite_instance}}/dendrite.yaml"
    90     mode: "0600"
    90     mode: "0600"
    91     owner: "{{dendrite_user}}"
    91     owner: "{{dendrite_user}}"
    92     group: "{{dendrite_user}}"
    92     group: "{{dendrite_user}}"
    93   notify: reload service
    93   notify: restart service
    94 
    94 
    95 - name: install systemd service
    95 - name: install systemd service
    96   become: yes
    96   become: yes
    97   template:
    97   template:
    98     src: "[email protected]"
    98     src: "[email protected]"