--- - name: "Create directory: /var/lib/pleroma" file: state: directory path: /var/lib/pleroma owner: pleroma group: pleroma - name: "Copy config-file to: /etc/pleroma/config.exs" template: src: "{{ services.pleroma.configFile }}" dest: /etc/pleroma/config.exs mode: 0755 owner: pleroma group: pleroma notify: "Restart pleroma" - name: "Copy secretsContent to: /var/lib/pleroma/secret.exs" copy: content: "{{ services.pleroma.secretsContent }}" dest: /var/lib/pleroma/secret.exs owner: pleroma group: pleroma mode: 0700 notify: "Restart pleroma"