forgejo: configure some more options

Also drop leftover line.
This commit is contained in:
Timotej Lazar 2024-06-05 17:33:43 +02:00
parent f5e9c7d6dc
commit 25df98c97b

View file

@ -2,7 +2,6 @@
lineinfile:
path: /etc/apk/repositories
line: '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing'
notify: update package cache
register: repo
- name: Install forgejo
@ -37,9 +36,14 @@
- { section: server, option: ROOT_URL, value: 'https://{{ dns_name }}/' }
- { section: server, option: LFS_START_SERVER, value: true }
- { section: service, option: ALLOW_ONLY_EXTERNAL_REGISTRATION, value: true }
- { section: service, option: DEFAULT_USER_VISIBILITY, value: private }
- { section: service.explore, option: DEFAULT_USERS_PAGE, value: private }
- { section: repository, option: DEFAULT_BRANCH, value: master }
- { section: repository, option: ENABLE_PUSH_CREATE_ORG, value: true }
- { section: repository, option: ENABLE_PUSH_CREATE_USER, value: true }
- { section: ui, option: AMBIGUOUS_UNICODE_DETECTION, value: false }
- { section: other, option: SHOW_FOOTER_VERSION, value: false }
- { section: other, option: SHOW_FOOTER_TEMPLATE_LOAD_TIME, value: false }
notify: restart forgejo
- name: Enable forgejo service