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

meta role cleanup - demo

This commit is contained in:
Jerry Vonau 2019-11-02 05:27:42 -05:00
parent bb709dc9d5
commit 09e5ae64c7
5 changed files with 59 additions and 57 deletions

View file

@ -23,28 +23,18 @@
when: squid_install | bool
tags: base, squid, network, domain
# until porting is complete
- name: Install python
package:
name: python
state: present
- name: Create a Python interface to iiab.env
template:
src: roles/1-prep/templates/iiab_env.py.j2
dest: /etc/iiab/iiab_env.py
- name: Installing captive portal
include_tasks: roles/captive-portal/tasks/main.yml
when: captive_portal_install | bool
tags: base, captive-portal, network, domain
- name: Install Bluetooth - only on Raspberry Pi
include_role:
name: bluetooth
when: is_rpi and bluetooth_install
tags: bluetooth
- name: USB-LIB
include_role:
name: usb-lib
when: usb_lib_install | bool
tags: usb-lib
# NETWORK moved to the very end, after Stage 9 (9-LOCAL-ADDONS)
# It can also be run manually using: cd /opt/iiab/iiab; ./iiab-network
#
@ -68,11 +58,11 @@
tags: postgresql, pathagar, moodle
# UNMAINTAINED
- name: AUTHSERVER
include_role:
name: authserver
when: authserver_install is defined and authserver_install
tags: olpc, authserver
#- name: AUTHSERVER
# include_role:
# name: authserver
# when: authserver_install is defined and authserver_install
# tags: olpc, authserver
- name: CUPS
include_role:
@ -86,12 +76,6 @@
when: samba_install | bool
tags: samba
- name: USB-LIB
include_role:
name: usb-lib
when: usb_lib_install | bool
tags: usb-lib
- name: Run /usr/bin/iiab-refresh-wiki-docs (scraper script) to create http://box/info offline documentation. (This script was installed at the beginning of Stage 3 = roles/3-base-server/tasks/main.yml, which ran Apache playbook = roles/httpd/tasks/main.yml)
command: /usr/bin/iiab-refresh-wiki-docs
when: internet_available and not nodocs

View file

@ -21,11 +21,12 @@
when: mediawiki_install | bool
tags: mediawiki
- name: EJABBERD
include_role:
name: ejabberd
when: ejabberd_install | bool
tags: ejabberd
# unmaintained
#- name: EJABBERD
# include_role:
# name: ejabberd
# when: ejabberd_install | bool
# tags: ejabberd
- name: ELGG
include_role:

View file

@ -34,18 +34,18 @@
tags: osm, maps
# UNMAINTAINED
- name: OSM
include_role:
name: osm
when: osm_install is defined and osm_install
tags: osm, maps
#- name: OSM
# include_role:
# name: osm
# when: osm_install is defined and osm_install
# tags: osm, maps
# UNMAINTAINED
- name: PATHAGAR
include_role:
name: pathagar
when: pathagar_install is defined and pathagar_install
tags: pathagar
#- name: PATHAGAR
# include_role:
# name: pathagar
# when: pathagar_install is defined and pathagar_install
# tags: pathagar
- name: SUGARIZER
include_role:

View file

@ -34,18 +34,18 @@
tags: phpmyadmin
# UNMAINTAINED
- name: SUGAR-STATS
include_role:
name: sugar-stats
when: sugar_stats_install is defined and sugar_stats_install and ansible_distribution != "CentOS"
tags: olpc, sugar-stats
#- name: SUGAR-STATS
# include_role:
# name: sugar-stats
# when: sugar_stats_install is defined and sugar_stats_install and ansible_distribution != "CentOS"
# tags: olpc, sugar-stats
# UNMAINTAINED
- name: TEAMVIEWER
include_role:
name: teamviewer
when: teamviewer_install is defined and teamviewer_install
tags: teamviewer
#- name: TEAMVIEWER
# include_role:
# name: teamviewer
# when: teamviewer_install is defined and teamviewer_install
# tags: teamviewer
- name: VNSTAT
include_role:
@ -54,11 +54,11 @@
tags: vnstat
# UNMAINTAINED
- name: XOVIS
include_role:
name: xovis
when: xovis_install is defined and xovis_install and ansible_distribution != "CentOS"
tags: xovis
#- name: XOVIS
# include_role:
# name: xovis
# when: xovis_install is defined and xovis_install and ansible_distribution != "CentOS"
# tags: xovis
- name: Recording STAGE 8 HAS COMPLETED ======================
lineinfile:

View file

@ -9,6 +9,23 @@
when: internetarchive_install | bool
tags: internetarchive
# until porting is complete
- name: Install python-2.7
package:
name: python
state: present
# used by iiab-update-map supplied by osm-vector-maps
- name: Create a Python interface to iiab.env
template:
src: roles/1-prep/templates/iiab_env.py.j2
dest: /etc/iiab/iiab_env.py
- name: Installing captive portal
include_tasks: roles/captive-portal/tasks/main.yml
when: captive_portal_install | bool
tags: base, captive-portal, network, domain
- name: MINETEST
include_role:
name: minetest