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:
parent
b02e03a3c5
commit
7afb4f049a
1 changed files with 3 additions and 3 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue