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: lineinfile:
path: /etc/apk/repositories path: /etc/apk/repositories
line: '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing' line: '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing'
notify: update package cache
register: repo register: repo
- name: Install forgejo - name: Install forgejo
@ -37,9 +36,14 @@
- { section: server, option: ROOT_URL, value: 'https://{{ dns_name }}/' } - { section: server, option: ROOT_URL, value: 'https://{{ dns_name }}/' }
- { section: server, option: LFS_START_SERVER, value: true } - { section: server, option: LFS_START_SERVER, value: true }
- { section: service, option: ALLOW_ONLY_EXTERNAL_REGISTRATION, 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: DEFAULT_BRANCH, value: master }
- { section: repository, option: ENABLE_PUSH_CREATE_ORG, value: true } - { section: repository, option: ENABLE_PUSH_CREATE_ORG, value: true }
- { section: repository, option: ENABLE_PUSH_CREATE_USER, 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 notify: restart forgejo
- name: Enable forgejo service - name: Enable forgejo service