1
0
Fork 0
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:
Aidan Fitzgerald 2018-10-18 13:13:16 -04:00
parent 23dfa8b297
commit 2c1339fc3a

View file

@ -4,6 +4,8 @@
comment: Gitea daemon account
groups: gitea
home: "{{ gitea_root_directory }}"
tags:
- pre-install
- name: Create Gitea directory structure
file:
@ -12,6 +14,8 @@
owner: gitea
group: gitea
with_items: "{{ gitea_subdirectories }}"
tags:
- pre-install
- name: Make directories data, indexers, and log writable
file:
@ -21,6 +25,8 @@
- data
- indexers
- log
tags:
- pre-install
- name: Create Gitea config directory
file:
@ -29,6 +35,8 @@
owner: root
group: gitea
mode: 0770
tags:
- pre-install
- name: Download Gitea binary
get_url:
@ -62,6 +70,8 @@
owner: gitea
group: gitea
state: link
tags:
- install
- name: Create 'gitea' service
template: