2017-10-27 00:42:44 +00:00
|
|
|
# Local Add-ons
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2017-10-30 20:39:35 +00:00
|
|
|
- name: ...IS BEGINNING ====================================
|
2017-10-27 00:42:44 +00:00
|
|
|
command: echo
|
2018-08-30 21:34:04 +00:00
|
|
|
|
2019-04-23 00:59:57 +00:00
|
|
|
- name: INTERNETARCHIVE
|
2019-04-22 09:51:50 +00:00
|
|
|
include_role:
|
2019-04-23 00:59:57 +00:00
|
|
|
name: internetarchive
|
2020-01-13 17:05:36 +00:00
|
|
|
when: internetarchive_install | bool
|
2019-02-06 17:00:01 +00:00
|
|
|
|
2020-01-13 17:05:36 +00:00
|
|
|
# Is porting to Python 3 complete, and if so does this belong elsewhere?
|
2019-11-03 15:52:49 +00:00
|
|
|
- name: CAPTIVE PORTAL
|
2020-01-17 04:16:31 +00:00
|
|
|
include_role:
|
|
|
|
name: captiveportal
|
2019-12-05 02:20:08 +00:00
|
|
|
when: captiveportal_install | bool
|
2019-11-02 10:27:42 +00:00
|
|
|
|
2019-07-08 12:31:49 +00:00
|
|
|
- name: MINETEST
|
|
|
|
include_role:
|
|
|
|
name: minetest
|
2020-01-13 17:05:36 +00:00
|
|
|
when: minetest_install | bool
|
2019-07-08 12:31:49 +00:00
|
|
|
|
2019-10-07 00:29:35 +00:00
|
|
|
# KEEP AT THE END as this installs dependencies from Debian's 'testing' branch!
|
|
|
|
- name: CALIBRE
|
|
|
|
include_role:
|
|
|
|
name: calibre
|
2020-01-13 17:05:36 +00:00
|
|
|
when: calibre_install | bool
|
2019-10-07 00:29:35 +00:00
|
|
|
|
|
|
|
- name: CALIBRE-WEB
|
|
|
|
include_role:
|
|
|
|
name: calibre-web
|
2020-01-13 17:05:36 +00:00
|
|
|
when: calibreweb_install | bool
|
2019-10-07 00:29:35 +00:00
|
|
|
|
2020-01-12 13:27:33 +00:00
|
|
|
# Could split these two below to Stage 10?
|
|
|
|
|
2020-01-24 01:41:16 +00:00
|
|
|
- name: Fully Enable / Configure NGINX (already installed in Stage 3-BASE-SERVER) if 'nginx_enabled' is True
|
2019-11-19 14:47:38 +00:00
|
|
|
include_role:
|
|
|
|
name: nginx
|
2020-01-24 01:41:16 +00:00
|
|
|
when: nginx_enabled | bool # WAS: nginx_install
|
|
|
|
# If just CONFIGURING (etc) shouldn't we use one of the following instead ??
|
|
|
|
# include_tasks: roles/nginx/tasks/setup.yml
|
|
|
|
# include_tasks: roles/nginx/tasks/enable.yml
|
2019-11-19 14:47:38 +00:00
|
|
|
|
2020-01-24 01:41:16 +00:00
|
|
|
- name: Fully Enable / Configure Apache systemd service ({{ apache_service }}) if 'apache_enabled' is True
|
2019-11-20 08:32:05 +00:00
|
|
|
include_role:
|
|
|
|
name: httpd-enable
|
2020-01-24 01:41:16 +00:00
|
|
|
when: apache_enabled | bool # WAS: apache_install
|
|
|
|
# WARNING THAT APACHE IS AUTO-ENABLED BY THESE ~6 APPS ALONE!
|
|
|
|
# https://github.com/holta/iiab/blob/scaff2/roles/0-init/tasks/main.yml#L40-L44
|
|
|
|
# Summarized @ https://github.com/iiab/iiab/blob/master/roles/nginx/README.md
|
|
|
|
# 2020-01-23: APACHE FUTURE SUMMARY QUESTIONS @ roles/httpd/tasks/main.yml
|
2019-11-20 08:32:05 +00:00
|
|
|
|
2017-10-30 20:39:35 +00:00
|
|
|
- name: Recording STAGE 9 HAS COMPLETED ====================
|
2018-02-13 03:13:46 +00:00
|
|
|
lineinfile:
|
2018-10-15 09:33:59 +00:00
|
|
|
dest: "{{ iiab_env_file }}"
|
2018-02-13 03:13:46 +00:00
|
|
|
regexp: '^STAGE=*'
|
|
|
|
line: 'STAGE=9'
|