Allow nginx to read public assets
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Mathieu Gauthier-Pilote 2023-01-13 10:26:48 -05:00
parent 1c1bc2fe9f
commit 4aa133ebda

View file

@ -32,6 +32,7 @@
version: "{{ git_version | default(omit) }}"
#force: yes
update: yes
umask: '0022'
become_user: "{{ service }}"
- block:
@ -133,6 +134,14 @@
executable: /bin/bash # fails with /bin/sh
become_user: "{{ service }}"
- name: Adjust permissions of files in public folder
file:
path: "~/mastodon/public"
state: directory
mode: 'o=rX'
recurse: true
become_user: "{{ service }}"
- name: Add systemd target
template:
src: "mastodon.target.j2"