1
0
Fork 0
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:
A Holt 2020-01-11 17:20:33 -05:00 committed by GitHub
parent 22148fa20a
commit f55bd8a8e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: