2017-10-27 02:01:02 +00:00
# Server Options
2017-11-09 13:24:21 +00:00
2017-10-27 05:41:47 +00:00
- name : ...IS BEGINNING ==================================
2017-10-27 02:01:02 +00:00
command : echo
2018-10-31 01:59:07 +00:00
- name : Install dnsmasq
2018-06-01 15:53:34 +00:00
include_tasks : roles/network/tasks/dnsmasq.yml
2019-05-24 22:33:10 +00:00
when : dnsmasq_install | bool
2018-06-01 15:53:34 +00:00
tags : base, domain, dnsmasq, network
2017-11-10 06:09:10 +00:00
2018-10-31 01:59:07 +00:00
- name : Install named / BIND
2017-11-10 06:09:10 +00:00
include_tasks : roles/network/tasks/named.yml
2019-05-24 22:33:10 +00:00
when : named_install | bool
2017-11-13 02:57:13 +00:00
tags : base, named, network, domain
2017-11-10 06:09:10 +00:00
Cap2 (#1300)
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* restart apache2 and dnsmasq in role
* do not hard code apache name
* cut out disfunctional experiments
* variable py_captive_portal_port misspelled
* add wildcard serveralias to box.lan vhost to fix default
* add in STDOUT to log
* remove the py_
* add in msn to urls to capture
* missed a few py_
2018-11-18 04:09:40 +00:00
- name : Installing captive portal
include_tasks : roles/captive-portal/tasks/main.yml
2019-05-24 22:33:10 +00:00
when : captive_portal_install | bool
Cap2 (#1300)
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* restart apache2 and dnsmasq in role
* do not hard code apache name
* cut out disfunctional experiments
* variable py_captive_portal_port misspelled
* add wildcard serveralias to box.lan vhost to fix default
* add in STDOUT to log
* remove the py_
* add in msn to urls to capture
* missed a few py_
2018-11-18 04:09:40 +00:00
tags : base, captive-portal, network, domain
- name : Installing dhcpd
2017-11-10 06:09:10 +00:00
include_tasks : roles/network/tasks/dhcpd.yml
2019-05-24 22:33:10 +00:00
when : dhcpd_install | bool
2017-11-13 02:57:13 +00:00
tags : base, dhcpd, network, domain
2017-11-10 06:09:10 +00:00
2018-10-31 01:59:07 +00:00
- name : Install Squid (and DansGuardian if dansguardian_install)
2017-11-10 06:09:10 +00:00
include_tasks : roles/network/tasks/squid.yml
2019-05-24 22:33:10 +00:00
when : squid_install | bool
2017-11-13 02:57:13 +00:00
tags : base, squid, network, domain
2017-11-10 06:09:10 +00:00
2019-06-28 21:33:57 +00:00
- name : Install Bluetooth - only on Raspberry Pi
2019-06-15 19:22:16 +00:00
include_role :
name : bluetooth
2019-06-28 21:33:57 +00:00
when : is_rpi and bluetooth_install
2019-06-15 19:22:16 +00:00
tags : bluetooth
2018-10-29 10:01:49 +00:00
# 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
#
2017-11-13 02:57:13 +00:00
#- name: NETWORK
# include_role:
# name: network
# # has no "when: XXXXX_install" flag
# tags: base, network
2017-10-27 02:01:02 +00:00
2018-02-13 15:15:23 +00:00
# MANDATORY SO PERHAPS THIS BELONGS IN 3-BASE-SERVER ?
2017-10-27 02:44:06 +00:00
- name : HOMEPAGE
include_role :
name : homepage
# has no "when: XXXXX_install" flag
tags : base, homepage
2017-10-27 02:28:18 +00:00
2017-10-27 17:36:14 +00:00
- name : POSTGRESQL
include_role :
name : postgresql
2019-05-24 22:33:10 +00:00
when : postgresql_install | bool
2017-10-27 17:41:48 +00:00
tags : postgresql, pathagar, moodle
2017-10-27 17:36:14 +00:00
2019-01-09 22:37:34 +00:00
# UNMAINTAINED
2017-10-27 02:01:02 +00:00
- name : AUTHSERVER
include_role :
name : authserver
2019-01-09 22:37:34 +00:00
when : authserver_install is defined and authserver_install
2017-10-27 04:28:51 +00:00
tags : olpc, authserver
2017-10-27 02:01:02 +00:00
2017-10-27 02:44:06 +00:00
- name : CUPS
2017-10-27 02:01:02 +00:00
include_role :
2017-10-27 02:44:06 +00:00
name : cups
2019-05-24 22:33:10 +00:00
when : cups_install | bool
2017-10-27 02:44:06 +00:00
tags : cups
2017-10-27 02:01:02 +00:00
- name : SAMBA
include_role :
name : samba
2019-05-24 22:33:10 +00:00
when : samba_install | bool
2017-10-27 02:01:02 +00:00
tags : samba
- name : USB-LIB
include_role :
name : usb-lib
2019-05-24 22:33:10 +00:00
when : usb_lib_install | bool
2017-10-27 02:01:02 +00:00
tags : usb-lib
2018-10-29 10:01:49 +00:00
- 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)
2017-10-07 03:09:35 +00:00
command : /usr/bin/iiab-refresh-wiki-docs
2019-09-26 22:35:38 +00:00
when : internet_available and not nodocs
2017-10-07 03:09:35 +00:00
2017-10-30 17:14:09 +00:00
- name : Recording STAGE 4 HAS COMPLETED ==================
2018-02-13 03:12:14 +00:00
lineinfile :
2018-10-15 09:32:42 +00:00
dest : "{{ iiab_env_file }}"
2018-02-13 03:12:14 +00:00
regexp : '^STAGE=*'
line : 'STAGE=4'
state : present