mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
23 lines
894 B
YAML
23 lines
894 B
YAML
- name: Install Sugarizer if 'sugarizer_installed' not defined, e.g. in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
|
|
include_tasks: install.yml
|
|
when: sugarizer_installed is undefined
|
|
|
|
|
|
- include_tasks: enable-or-disable.yml
|
|
|
|
|
|
- name: Add 'sugarizer' variable values to {{ iiab_ini_file }}
|
|
ini_file:
|
|
path: "{{ iiab_ini_file }}" # /etc/iiab/iiab.ini
|
|
section: sugarizer
|
|
option: "{{ item.option }}"
|
|
value: "{{ item.value | string }}"
|
|
with_items:
|
|
- option: name
|
|
value: Sugarizer
|
|
- option: description
|
|
value: '"The Sugar Learning Platform began with the famous One Laptop Per Child project, written in Python. Sugarizer is the new HTML/JavaScript implementation of Sugar, usable in most all browsers."'
|
|
- option: sugarizer_install
|
|
value: "{{ sugarizer_install }}"
|
|
- option: sugarizer_enabled
|
|
value: "{{ sugarizer_enabled }}"
|