updated gitea state
This commit is contained in:
parent
bcefcf6d4c
commit
3343913ddf
@ -7,8 +7,8 @@ gitea-config:
|
|||||||
- name: {{ gitea.configfile }}
|
- name: {{ gitea.configfile }}
|
||||||
- source: salt://gitea/templates/app.ini.j2
|
- source: salt://gitea/templates/app.ini.j2
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- user: git
|
- user: {{ gitea.user }}
|
||||||
- group: git
|
- group: {{ gitea.group }}
|
||||||
- mode: 600
|
- mode: 600
|
||||||
- makedirs: true
|
- makedirs: true
|
||||||
- require:
|
- require:
|
||||||
|
@ -20,8 +20,16 @@ gitea-bin:
|
|||||||
- name: {{ gitea.workingdir }}/gitea
|
- name: {{ gitea.workingdir }}/gitea
|
||||||
- source: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}"
|
- 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"
|
- source_hash: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}.sha256"
|
||||||
- user: git
|
- user: {{ gitea.user }}
|
||||||
- group: git
|
- group: {{ gitea.group }}
|
||||||
- mode: 750
|
- mode: 750
|
||||||
- require:
|
- require:
|
||||||
- git
|
- 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