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