mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
gitea/tasks/install.yml: Clean comments
This commit is contained in:
parent
e777aa2677
commit
d2a0229cd3
1 changed files with 4 additions and 4 deletions
|
@ -6,12 +6,12 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Ensure group gitea exists
|
- name: Ensure group 'gitea' exists
|
||||||
group:
|
group:
|
||||||
name: gitea
|
name: gitea
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Create user gitea
|
- name: Create user 'gitea'
|
||||||
user:
|
user:
|
||||||
name: gitea
|
name: gitea
|
||||||
comment: Gitea daemon account
|
comment: Gitea daemon account
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
group: gitea
|
group: gitea
|
||||||
with_items: "{{ gitea_subdirectories }}"
|
with_items: "{{ gitea_subdirectories }}"
|
||||||
|
|
||||||
- name: Make directories data, indexers, and log writable
|
- name: Make directories data, indexers, and log writable (0750)
|
||||||
file:
|
file:
|
||||||
path: "{{ gitea_root_directory }}/{{ item }}" # /library/gitea
|
path: "{{ gitea_root_directory }}/{{ item }}" # /library/gitea
|
||||||
mode: '0750'
|
mode: '0750'
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
|
|
||||||
# 4. Create systemd service & prepare NGINX for http://box/gitea
|
# 4. Create systemd service & prepare NGINX for http://box/gitea
|
||||||
|
|
||||||
- name: "Install from template: /etc/systemd/system/gitea.service"
|
- name: "Install from template: /etc/systemd/system/gitea.service (by default 0644)"
|
||||||
template:
|
template:
|
||||||
src: gitea.service.j2
|
src: gitea.service.j2
|
||||||
dest: /etc/systemd/system/gitea.service
|
dest: /etc/systemd/system/gitea.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue