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

55 lines
1.3 KiB
YAML

# Local Add-ons
- name: ...IS BEGINNING ====================================
command: echo
- name: INTERNETARCHIVE
include_role:
name: internetarchive
when: internetarchive_install | bool
tags: internetarchive
# Until porting complete (@jvonau)
- name: 'Install Python 2.7 packages: python, python-pip'
package:
name:
- python
- python-pip # Used by Admin Console
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: 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
when: minetest_install | bool
tags: minetest
# KEEP AT THE END as this installs dependencies from Debian's 'testing' branch!
- name: CALIBRE
include_role:
name: calibre
when: calibre_install | bool
tags: calibre
- name: CALIBRE-WEB
include_role:
name: calibre-web
when: calibreweb_install | bool
tags: calibre-web
- name: Recording STAGE 9 HAS COMPLETED ====================
lineinfile:
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=9'
state: present