Clarifications.

This commit is contained in:
Tom
2026-02-09 14:59:38 +01:00
parent a8a8907463
commit fe98b961ab
2 changed files with 13 additions and 7 deletions

View File

@@ -31,18 +31,18 @@
- name: Set the permissions of the Gitea binary
ansible.builtin.file:
path: /usr/local/bin/gitea
owner: root
owner: "{{ gitea_user }}"
group: "{{ gitea_group }}"
mode: '0770'
mode: '0750'
- name: Pause to generate and save the secrets in SOPS
ansible.builtin.pause:
prompt: |
[SECURITY NOTICE]
If this is a fresh install, generate these secrets:
1. gitea generate secret INTERNAL_TOKEN
2. gitea generate secret JWT_SECRET
3. gitea generate secret JWT_SECRET
1. gitea generate secret INTERNAL_TOKEN - for gitea_internal_token
2. gitea generate secret JWT_SECRET - for gitea_lfs_jwt_secret
3. gitea generate secret JWT_SECRET - for gitea_jwt_secret
Copy the following keys into SOPS:
- gitea_internal_token
- gitea_lfs_jwt_secret