Compare commits

..

2 Commits

Author SHA1 Message Date
a459473252
Fix gitea directory modes 2019-11-29 13:17:37 -06:00
eac790014f
Configure gitea for production mode 2019-11-29 13:17:13 -06:00
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,8 @@ gitea_home_path: /home/git
gitea_port: 3000 gitea_port: 3000
gitea_config: gitea_config:
DEFAULT:
run_mode: prod
server: server:
domain: "{{ gitea_domain }}" domain: "{{ gitea_domain }}"
root_url: "{{ gitea_ssl_enabled | ternary('https', 'http') }}://{{ gitea_domain }}/" root_url: "{{ gitea_ssl_enabled | ternary('https', 'http') }}://{{ gitea_domain }}/"

View File

@ -36,7 +36,7 @@
path: "{{ gitea_etc_path }}" path: "{{ gitea_etc_path }}"
owner: root owner: root
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: 750 mode: 0750
state: directory state: directory
- name: configure - name: configure
@ -54,7 +54,7 @@
path: "{{ item }}" path: "{{ item }}"
owner: "{{ gitea_user }}" owner: "{{ gitea_user }}"
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: 750 mode: 0750
state: directory state: directory
with_items: "{{ gitea_var_tree }}" with_items: "{{ gitea_var_tree }}"