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

Update main.yml

This commit is contained in:
A Holt 2018-07-16 16:19:18 -04:00 committed by GitHub
parent ada1355e12
commit 2f31228a6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@
mode: 0755
state: directory
with_items:
- "{{ kolibri_home }}"
- "{{ kolibri_home }}"
- name: Install kolibri using pip on all OS's
pip:
@ -59,20 +59,16 @@
- name: Enable kolibri service
service:
name: "{{ item.name }}"
name: kolibri
enabled: yes
state: restarted
with_items:
- { name: kolibri }
when: kolibri_enabled
- name: Disable kolibri service
service:
name: "{{ item.name }}"
name: kolibri
enabled: no
state: stopped
with_items:
- { name: kolibri }
when: not kolibri_enabled
- name: Add 'kolibri' to list of services at /etc/iiab/iiab.ini