1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/9-local-addons/tasks/main.yml

57 lines
1.7 KiB
YAML
Raw Normal View History

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
include_role:
2019-04-23 00:59:57 +00:00
name: internetarchive
2020-01-13 17:05:36 +00:00
when: internetarchive_install | bool
2020-01-13 17:05:36 +00:00
# Is porting to Python 3 complete, and if so does this belong elsewhere?
- name: CAPTIVE PORTAL
include_role:
name: captiveportal
2019-12-05 02:20:08 +00:00
when: captiveportal_install | bool
2019-11-02 10:27:42 +00:00
- name: MINETEST
include_role:
name: minetest
2020-01-13 17:05:36 +00:00
when: minetest_install | bool
# 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
- name: CALIBRE-WEB
include_role:
name: calibre-web
2020-01-13 17:05:36 +00:00
when: calibreweb_install | bool
# 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 ====================
lineinfile:
2018-10-15 09:33:59 +00:00
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=9'