1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/9-local-addons/tasks/main.yml
2020-01-02 06:08:57 -08:00

59 lines
1.3 KiB
YAML

# Local Add-ons
- name: ...IS BEGINNING ====================================
command: echo
- name: INTERNETARCHIVE
include_role:
name: internetarchive
tags: internetarchive
# Until porting complete (@jvonau helping transition to Python 3)
#- name: 'Install Python 2.7 packages: python, python-pip'
# package:
# name:
# - python
# - python-pip # Used by Admin Console
# state: present
# To be ported soon
- name: CAPTIVE PORTAL
include_tasks: roles/captiveportal/tasks/main.yml
when: captiveportal_install | bool
tags: base, captiveportal, network, domain
- name: MINETEST
include_role:
name: minetest
tags: minetest
# KEEP AT THE END as this installs dependencies from Debian's 'testing' branch!
- name: CALIBRE
include_role:
name: calibre
tags: calibre
- name: CALIBRE-WEB
include_role:
name: calibre-web
tags: calibre-web
# could split this two below to stage 10?
- name: Configure NGINX
include_role:
name: nginx
when: nginx_install
tags: base, nginx
- name: Configure Apache systemd service ({{ apache_service }})
include_role:
name: httpd-enable
when: apache_install
tags: base, httpd
- name: Recording STAGE 9 HAS COMPLETED ====================
lineinfile:
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=9'
state: present