1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update gitea/tasks/enable.yml

This commit is contained in:
A Holt 2020-01-10 18:18:54 -05:00 committed by GitHub
parent b02e03a3c5
commit 7afb4f049a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,10 +28,10 @@
dest: "/etc/{{ apache_config_dir }}/gitea.conf" dest: "/etc/{{ apache_config_dir }}/gitea.conf"
when: not nginx_enabled when: not nginx_enabled
- name: Enable softlink /etc/apache2/sites-enabled/gitea.conf -> /etc/{{ apache_config_dir }}/gitea.conf - name: Softlink /etc/apache2/sites-enabled/gitea.conf -> /etc/{{ apache_config_dir }}/gitea.conf
file: file:
src: /etc/{{ apache_config_dir }}/gitea.conf src: /etc/{{ apache_config_dir }}/gitea.conf
dest: /etc/apache2/sites-enabled/gitea.conf path: /etc/apache2/sites-enabled/gitea.conf
state: link state: link
when: gitea_enabled and not nginx_enabled when: gitea_enabled and not nginx_enabled
@ -66,7 +66,7 @@
- name: Add 'gitea' to list of services at {{ iiab_ini_file }} - name: Add 'gitea' to list of services at {{ iiab_ini_file }}
ini_file: ini_file:
dest: "{{ iiab_ini_file }}" path: "{{ iiab_ini_file }}"
section: gitea section: gitea
option: "{{ item.option }}" option: "{{ item.option }}"
value: "{{ item.value }}" value: "{{ item.value }}"