mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update kiwix/tasks/enable.yml
This commit is contained in:
parent
2159797985
commit
a99271e267
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
- name: Enable & Restart 'kiwix-serve' systemd service
|
- name: Enable & Restart 'kiwix-serve' systemd service
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
|
||||||
name: kiwix-serve
|
name: kiwix-serve
|
||||||
|
daemon_reload: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: restarted
|
state: restarted
|
||||||
when: kiwix_enabled | bool
|
when: kiwix_enabled | bool
|
||||||
|
@ -65,12 +65,13 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: nginx_install and not kiwix_enabled
|
when: nginx_install and not kiwix_enabled
|
||||||
|
|
||||||
- name: Restart nginx systemd service
|
- name: Restart 'nginx' systemd service
|
||||||
systemd:
|
systemd:
|
||||||
name: nginx
|
name: nginx
|
||||||
state: restarted
|
state: restarted
|
||||||
when: nginx_enabled | bool
|
when: nginx_enabled | bool
|
||||||
|
|
||||||
|
|
||||||
- name: Add 'kiwix' variable values to {{ iiab_ini_file }}
|
- name: Add 'kiwix' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
path: "{{ iiab_ini_file }}"
|
path: "{{ iiab_ini_file }}"
|
||||||
|
|
Loading…
Reference in a new issue