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

View file

@ -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 }}"