updated gitea state
This commit is contained in:
parent
bcefcf6d4c
commit
3343913ddf
@ -7,8 +7,8 @@ gitea-config:
|
||||
- name: {{ gitea.configfile }}
|
||||
- source: salt://gitea/templates/app.ini.j2
|
||||
- template: jinja
|
||||
- user: git
|
||||
- group: git
|
||||
- user: {{ gitea.user }}
|
||||
- group: {{ gitea.group }}
|
||||
- mode: 600
|
||||
- makedirs: true
|
||||
- require:
|
||||
|
@ -20,8 +20,16 @@ gitea-bin:
|
||||
- name: {{ gitea.workingdir }}/gitea
|
||||
- source: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}"
|
||||
- source_hash: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}.sha256"
|
||||
- user: git
|
||||
- group: git
|
||||
- user: {{ gitea.user }}
|
||||
- group: {{ gitea.group }}
|
||||
- mode: 750
|
||||
- require:
|
||||
- git
|
||||
|
||||
gitea-log-dir:
|
||||
file.managed:
|
||||
- name: {{ gitea.config.log.rootpath }}
|
||||
- user: {{ gitea.user }}
|
||||
- group: {{ gitea.group }}
|
||||
- require:
|
||||
- file: gitea-bin
|
||||
|
Loading…
Reference in New Issue
Block a user