mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Add pre-install tag
This commit is contained in:
parent
23dfa8b297
commit
2c1339fc3a
1 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
comment: Gitea daemon account
|
comment: Gitea daemon account
|
||||||
groups: gitea
|
groups: gitea
|
||||||
home: "{{ gitea_root_directory }}"
|
home: "{{ gitea_root_directory }}"
|
||||||
|
tags:
|
||||||
|
- pre-install
|
||||||
|
|
||||||
- name: Create Gitea directory structure
|
- name: Create Gitea directory structure
|
||||||
file:
|
file:
|
||||||
|
@ -12,6 +14,8 @@
|
||||||
owner: gitea
|
owner: gitea
|
||||||
group: gitea
|
group: gitea
|
||||||
with_items: "{{ gitea_subdirectories }}"
|
with_items: "{{ gitea_subdirectories }}"
|
||||||
|
tags:
|
||||||
|
- pre-install
|
||||||
|
|
||||||
- name: Make directories data, indexers, and log writable
|
- name: Make directories data, indexers, and log writable
|
||||||
file:
|
file:
|
||||||
|
@ -21,6 +25,8 @@
|
||||||
- data
|
- data
|
||||||
- indexers
|
- indexers
|
||||||
- log
|
- log
|
||||||
|
tags:
|
||||||
|
- pre-install
|
||||||
|
|
||||||
- name: Create Gitea config directory
|
- name: Create Gitea config directory
|
||||||
file:
|
file:
|
||||||
|
@ -29,6 +35,8 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: gitea
|
group: gitea
|
||||||
mode: 0770
|
mode: 0770
|
||||||
|
tags:
|
||||||
|
- pre-install
|
||||||
|
|
||||||
- name: Download Gitea binary
|
- name: Download Gitea binary
|
||||||
get_url:
|
get_url:
|
||||||
|
@ -62,6 +70,8 @@
|
||||||
owner: gitea
|
owner: gitea
|
||||||
group: gitea
|
group: gitea
|
||||||
state: link
|
state: link
|
||||||
|
tags:
|
||||||
|
- install
|
||||||
|
|
||||||
- name: Create 'gitea' service
|
- name: Create 'gitea' service
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue