1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
* do a special download and install of usbmount

* misspelled iiab_download_url

* misspell downloads_dir

* diable php-sqlite

* php version issues

* fixes transferred from recognize branch

* local_fact moved

* remove preload

* remove preload

* spell ansible

* debian9 sqlite3

* package needs name

* remove prepped

* use apt ratheer than ansible package for npm

* monit disable chkconfig

* moodle needs php-zip and php-mbstring

* debian9 -> debian-9

* returen to os_ver nomenclature for OS.yml
This commit is contained in:
georgejhunt 2017-07-04 13:27:44 -07:00 committed by GitHub
parent 842e617e42
commit 29b0b50885
13 changed files with 70 additions and 55 deletions

View file

@ -8,17 +8,6 @@
- set_fact:
xo_model: '{{ ansible_local["local_facts"]["xo_model"] }}'
phplib_dir: '{{ ansible_local["local_facts"]["phplib_dir"] }}'
iiab_base_ver: '{{ ansible_local["local_facts"]["iiab_base_ver"] }}'
iiab_preload: '{{ ansible_local["local_facts"]["iiab_preload"] }}'
- name: Defaulting iiab_base_ver
set_fact:
iiab_base_ver: 0
when: iiab_base_ver == ""
- name: Defaulting iiab_prepped
set_fact:
iiab_prepped: False
- name: Set exFAT enabled for XOs
set_fact:
@ -39,10 +28,6 @@
value: '{{ ansible_date_time["iso8601"] }}'
- option: 'runtime_php'
value: '{{ phplib_dir }}'
- option: 'runtime_preload'
value: '{{ iiab_preload }}'
- option: 'runtime_base_ver'
value: '{{ iiab_base_ver }}'
- option: 'kernel'
value: '{{ ansible_kernel }}'
- option: 'memory_mb'
@ -114,6 +99,7 @@
mysql_service: mysql
when: is_debuntu
# PLATFORM variables
- name: Fedora 20
set_fact:
is_F20: True

View file

@ -51,21 +51,10 @@
mode=0750
state=directory
- name: local facts script
template: src=local_facts.fact.j2
dest=/etc/ansible/facts.d/local_facts.fact
owner=root
group=root
mode=0700
- name: re-read facts
setup: filter=ansible_local
- name: Set XO model and preload
- name: Set XO model
set_fact:
phplib_dir: '{{ ansible_local["local_facts"]["phplib_dir"] }}'
xo_model: '{{ ansible_local["local_facts"]["xo_model"] }}'
iiab_preload: '{{ ansible_local["local_facts"]["iiab_preload"] }}'
- name: Install script to fully initialize network config, and/or collect data
# calling iiab-network-reset w/ snapshot name, stores info, but aborts reset