Allow nginx to read public assets
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
1c1bc2fe9f
commit
4aa133ebda
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue