mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
condense
This commit is contained in:
parent
ec1b4a1965
commit
0026446a80
9 changed files with 17 additions and 59 deletions
|
@ -89,12 +89,9 @@
|
||||||
when: first_run and usb_NUC6.stdout|int > 0
|
when: first_run and usb_NUC6.stdout|int > 0
|
||||||
|
|
||||||
# this script can be sourced to get IIAB location
|
# this script can be sourced to get IIAB location
|
||||||
- name: Create iiab.env file
|
- name: Recording STAGE 1 HAS COMPLETED ===========================================
|
||||||
template: src=roles/1-prep/templates/iiab.env.j2
|
template: src=roles/1-prep/templates/iiab.env.j2
|
||||||
dest=/etc/iiab/iiab.env
|
dest=/etc/iiab/iiab.env
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
|
|
||||||
- name: ...HAS COMPLETED ===========================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -48,11 +48,8 @@
|
||||||
|
|
||||||
- include: udev.yml
|
- include: udev.yml
|
||||||
|
|
||||||
- name: Record STAGE
|
- name: Recording STAGE 2 HAS COMPLETED =========================================
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^STAGE=*'
|
regexp='^STAGE=*'
|
||||||
line='STAGE=2'
|
line='STAGE=2'
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: ...HAS COMPLETED =========================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -30,12 +30,9 @@
|
||||||
state=restarted
|
state=restarted
|
||||||
when: not installing
|
when: not installing
|
||||||
|
|
||||||
# If we got here we're done
|
- name: Record STAGE 3 HAS COMPLETED ====================================
|
||||||
- name: Record STAGE
|
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^STAGE=*'
|
regexp='^STAGE=*'
|
||||||
line='STAGE=3'
|
line='STAGE=3'
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: ...HAS COMPLETED ====================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
# Server Options
|
# Server Options
|
||||||
|
|
||||||
- name: ...IS BEGINNING ==================================
|
|
||||||
command: echo
|
|
||||||
|
|
||||||
- name: SSHD
|
- name: SSHD
|
||||||
include_role:
|
include_role:
|
||||||
name: sshd
|
name: sshd
|
||||||
|
@ -57,12 +53,6 @@
|
||||||
when: usb_lib_install
|
when: usb_lib_install
|
||||||
tags: usb-lib
|
tags: usb-lib
|
||||||
|
|
||||||
- name: Record STAGE
|
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
|
||||||
regexp='^STAGE=*'
|
|
||||||
line='STAGE=4'
|
|
||||||
state=present
|
|
||||||
|
|
||||||
- name: Put a Python interface to iiab.env
|
- name: Put a Python interface to iiab.env
|
||||||
template: src=roles/1-prep/templates/iiab_env.py.j2
|
template: src=roles/1-prep/templates/iiab_env.py.j2
|
||||||
dest=/etc/iiab/iiab_env.py
|
dest=/etc/iiab/iiab_env.py
|
||||||
|
@ -71,5 +61,8 @@
|
||||||
command: /usr/bin/iiab-refresh-wiki-docs
|
command: /usr/bin/iiab-refresh-wiki-docs
|
||||||
when: not nodocs
|
when: not nodocs
|
||||||
|
|
||||||
- name: ...HAS COMPLETED =================================
|
- name: Recording STAGE 4 HAS COMPLETED =================================
|
||||||
command: echo
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
|
regexp='^STAGE=*'
|
||||||
|
line='STAGE=4'
|
||||||
|
state=present
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
# XO Services
|
# XO Services
|
||||||
|
|
||||||
- name: ...IS BEGINNING =====================================
|
|
||||||
command: echo
|
|
||||||
|
|
||||||
- name: ACTIVITY-SERVER
|
- name: ACTIVITY-SERVER
|
||||||
include_role:
|
include_role:
|
||||||
name: activity-server
|
name: activity-server
|
||||||
|
@ -21,11 +17,8 @@
|
||||||
when: idmgr_install
|
when: idmgr_install
|
||||||
tags: olpc, idmgr
|
tags: olpc, idmgr
|
||||||
|
|
||||||
- name: Record STAGE 5
|
- name: Recording STAGE 5 HAS COMPLETED ================================
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^STAGE=*'
|
regexp='^STAGE=*'
|
||||||
line='STAGE=5'
|
line='STAGE=5'
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: ...HAS COMPLETED ====================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
# Generic Apps
|
# Generic Apps
|
||||||
|
|
||||||
- name: ...IS BEGINNING ====================================
|
|
||||||
command: echo
|
|
||||||
|
|
||||||
- name: CALIBRE
|
- name: CALIBRE
|
||||||
include_role:
|
include_role:
|
||||||
name: calibre
|
name: calibre
|
||||||
|
@ -45,11 +41,8 @@
|
||||||
when: wordpress_install
|
when: wordpress_install
|
||||||
tags: wordpress
|
tags: wordpress
|
||||||
|
|
||||||
- name: Record STAGE 6
|
- name: Recording STAGE 6 HAS COMPLETED ==============================
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^STAGE=*'
|
regexp='^STAGE=*'
|
||||||
line='STAGE=6'
|
line='STAGE=6'
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: ...HAS COMPLETED ===================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
# Educational Apps
|
# Educational Apps
|
||||||
|
|
||||||
- name: ...IS BEGINNING ========================================
|
|
||||||
command: echo
|
|
||||||
|
|
||||||
- name: KALITE
|
- name: KALITE
|
||||||
include_role:
|
include_role:
|
||||||
name: kalite
|
name: kalite
|
||||||
|
@ -39,11 +35,8 @@
|
||||||
when: sugarizer_install
|
when: sugarizer_install
|
||||||
tags: sugarizer
|
tags: sugarizer
|
||||||
|
|
||||||
- name: Record STAGE 7
|
- name: Recording STAGE 7 HAS COMPLETED =======================================
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^STAGE=*'
|
regexp='^STAGE=*'
|
||||||
line='STAGE=7'
|
line='STAGE=7'
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: ...HAS COMPLETED =======================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
# Assessment and Monitoring Tools
|
# Assessment and Monitoring Tools
|
||||||
|
|
||||||
- name: ...IS BEGINNING ======================================
|
|
||||||
command: echo
|
|
||||||
|
|
||||||
- name: AWSTATS
|
- name: AWSTATS
|
||||||
include_role:
|
include_role:
|
||||||
name: awstats
|
name: awstats
|
||||||
|
@ -51,11 +47,8 @@
|
||||||
when: xovis_install and ansible_distribution != "CentOS"
|
when: xovis_install and ansible_distribution != "CentOS"
|
||||||
tags: xovis
|
tags: xovis
|
||||||
|
|
||||||
- name: Record STAGE 8
|
- name: Recording STAGE 8 HAS COMPLETED =====================================
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^STAGE=*'
|
regexp='^STAGE=*'
|
||||||
line='STAGE=8'
|
line='STAGE=8'
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: ...HAS COMPLETED =====================================
|
|
||||||
command: echo
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
# Local Add-ons
|
# Local Add-ons
|
||||||
|
|
||||||
- name: ...IS BEGINNING ====================================
|
- name: ...IS BEGINNING ====================================
|
||||||
command: echo
|
command: echo
|
||||||
|
|
||||||
- name: ...HAS COMPLETED ===================================
|
- name: Recording STAGE 9 HAS COMPLETED =====================================
|
||||||
command: echo
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
|
regexp='^STAGE=*'
|
||||||
|
line='STAGE=9'
|
||||||
|
state=present
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue