Skip to content

Commit

Permalink
allow template to work without comma
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa committed Sep 26, 2024
1 parent 05d7ba1 commit b474c4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions roles/forgejo/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@
dest: /etc/systemd/system/forgejo.service
mode: "0755"
when: running_on_server

- name: Forgejo | create forgejo script
ansible.builtin.template:
src: "forgejo_admin.j2"
dest: /usr/local/bin/forgejo_admin.sh
mode: "0755"
3 changes: 1 addition & 2 deletions roles/forgejo/templates/app.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ ENABLE_REVERSE_PROXY_EMAIL = true
ENABLE_REVERSE_PROXY_FULL_NAME = true
[repository]
PREFERRED_LICENSES = BSD,MIT
LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,.livemd
ROOT = /var/lib/forgejo/data/forgejo-repositories
[repository.issue]
LOCK_REASONS = Too heated,Off-topic,Spam,Resolved
Expand Down Expand Up @@ -83,7 +82,7 @@ SITEMAP_PAGING_NUM = 20
PACKAGES_PAGING_NUM = 20
GRAPH_MAX_COMMIT_NUM = 100
CODE_COMMENT_LINES = 4
ISSUE_INDEXER_NAME = gitea_issues
ISSUE_INDEXER_NAME = forgejo_issues
STARTUP_TIMEOUT = 30s
GRAVATAR_SOURCE = gravatar
[lfs]
Expand Down

0 comments on commit b474c4d

Please sign in to comment.