forgejo: configure some more options
Also drop leftover line.
This commit is contained in:
parent
f5e9c7d6dc
commit
25df98c97b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue