mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update gitea/tasks/install.yml
This commit is contained in:
parent
22148fa20a
commit
f55bd8a8e9
1 changed files with 7 additions and 8 deletions
|
@ -113,17 +113,16 @@
|
|||
owner: root
|
||||
group: gitea
|
||||
mode: 0664
|
||||
tags:
|
||||
- config
|
||||
|
||||
# Create systemd service
|
||||
# Create systemd service & prepare Apache for http://box/gitea
|
||||
|
||||
- name: Create 'gitea' service
|
||||
- name: "Install from templates: /etc/systemd/system/gitea.service, /etc/apache2/sites-available/gitea.conf"
|
||||
template:
|
||||
src: gitea.service.j2
|
||||
dest: "/etc/systemd/system/gitea.service"
|
||||
tags:
|
||||
- systemd
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
with_items:
|
||||
- { src: 'gitea.service.j2', dest: '/etc/systemd/system/gitea.service' }
|
||||
- { src: 'gitea.conf.j2', dest: "/etc/{{ apache_config_dir }}/gitea.conf" }
|
||||
|
||||
- name: Add 'gitea_installed' variable values to {{ iiab_state_file }}
|
||||
lineinfile:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue