Rename Gitea root directory

This commit is contained in:
Salt 2020-08-15 05:51:05 -05:00
parent d5c1d838e4
commit 590741d001
4 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@
tags: [ backups ]
- role: gitea
vars:
gitea_root_directory: "/cold/gitea-repositories/"
gitea.root: "/cold/gitea-repositories/"
tags: [ web, gitea ]
- role: grafana
tags: [ web, grafana ]

View File

@ -1,5 +1,5 @@
# vim:ft=ansible:
gitea_root_directory: "/home/git/gitea-repositories"
gitea.root: "/home/git/gitea-repositories"
gitea.app_name: "Ansible Gitea"
gitea_push_create_user: "true"
gitea_push_create_org: "false"

View File

@ -90,7 +90,7 @@
mode: "0700"
owner: git
group: git
path: "{{ gitea_root_directory }}"
path: "{{ gitea.root }}"
- name: Set up EFS mount
block:
- name: Install required packages
@ -107,7 +107,7 @@
security_groups: [ "{{ gitea.efs.security_group }}" ]
register: efs
- name: Mount EFS
path: "{{ gitea_root_directory }}"
path: "{{ gitea.root }}"
src: "{{ efs.efs.filesystem_address }}"
fstype: nfs4
opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport"

View File

@ -34,7 +34,7 @@ ENABLE_FEDERATED_AVATAR = false
[repository]
ENABLE_PUSH_CREATE_USER = {{ gitea_push_create_user }}
ENABLE_PUSH_CREATE_ORG = {{ gitea_push_create_org }}
ROOT = {{ gitea_root_directory }}
ROOT = {{ gitea.root }}
[security]
INTERNAL_TOKEN = {{ gitea_internal_token.stdout }}