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
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
name: kiwix-serve
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
state: restarted
|
||||
when: kiwix_enabled | bool
|
||||
|
@ -65,12 +65,13 @@
|
|||
state: absent
|
||||
when: nginx_install and not kiwix_enabled
|
||||
|
||||
- name: Restart nginx systemd service
|
||||
- name: Restart 'nginx' systemd service
|
||||
systemd:
|
||||
name: nginx
|
||||
state: restarted
|
||||
when: nginx_enabled | bool
|
||||
|
||||
|
||||
- name: Add 'kiwix' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
path: "{{ iiab_ini_file }}"
|
||||
|
|
Loading…
Reference in a new issue