Log directory under /var/log
This commit is contained in:
parent
aff29825ef
commit
e9c501d646
|
@ -16,6 +16,7 @@ gitea_data_subdirs:
|
||||||
- data
|
- data
|
||||||
- log
|
- log
|
||||||
|
|
||||||
|
gitea_log_dir: /var/log/gitea
|
||||||
gitea_socket_dir: /run/gitea
|
gitea_socket_dir: /run/gitea
|
||||||
gitea_repository_data: '{{ gitea_data_dir }}/repositories'
|
gitea_repository_data: '{{ gitea_data_dir }}/repositories'
|
||||||
gitea_max_repository_per_user: 200
|
gitea_max_repository_per_user: 200
|
||||||
|
|
|
@ -27,6 +27,14 @@
|
||||||
group: '{{ gitea_group }}'
|
group: '{{ gitea_group }}'
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
- name: Create the gitea log directory
|
||||||
|
file:
|
||||||
|
dest: '{{ gitea_log_dir }}'
|
||||||
|
state: directory
|
||||||
|
owner: '{{ gitea_user }}'
|
||||||
|
group: '{{ gitea_group }}'
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: Download the gitea binary
|
- name: Download the gitea binary
|
||||||
get_url: url={{ gitea_download_url }} dest={{ gitea_bin_path }} owner=root group={{ gitea_group }} mode=0750
|
get_url: url={{ gitea_download_url }} dest={{ gitea_bin_path }} owner=root group={{ gitea_group }} mode=0750
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue