1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

lockout unsupported options

This commit is contained in:
Jerry Vonau 2022-07-08 00:51:33 -05:00
parent bcc59a0bc3
commit 9ce883ab01
2 changed files with 39 additions and 31 deletions

View file

@ -63,15 +63,12 @@
#
# 2020-11-04: Fix validation of 5 [now 4] core dependencies, for ./runrole etc
- name: Set vars_checklist for 45 + 45 + 41 vars ("XYZ_install" + "XYZ_enabled" + "XYZ_installed") to be checked
- name: Set vars_checklist for 43 + 43 + 41 vars ("XYZ_install" + "XYZ_enabled" + "XYZ_installed") to be checked
set_fact:
vars_checklist:
- hostapd
- dhcpd
- named
- dnsmasq
- bluetooth
#- wondershaper # Unmaintained
- sshd
- openvpn
- remoteit
@ -80,18 +77,10 @@
#- apache # Unmaintained - former dependency
#- mysql # MANDATORY
- squid
#- dansguardian # Unmaintained
- cups
- samba
- usb_lib
#- xo_services # Unmaintained
#- activity_server # Unmaintained
#- ejabberd_xs # Unmaintained
#- idmgr # Unmaintained
- azuracast
#- dokuwiki # Unmaintained
#- ejabberd # Unmaintained
#- elgg # Unmaintained
- gitea
- jupyterhub
- lokole
@ -166,3 +155,22 @@
quiet: yes
when: item != 'nodejs' and item != 'postgresql' and item != 'mongodb' and item != 'yarn' # Exclude auto-installed dependencies
loop: "{{ vars_checklist }}"
# Validates stale options are not marked for install
- name: 'DISALLOW "XYZ_install: True" Unmaintained'
assert:
that: "{{ item }}_install is undefined"
fail_msg: "DISALLOWED: '{{ item }}_install: True' (e.g. in /etc/iiab/local_vars.yml)"
quiet: yes
with_items:
- named
- dhcpd
- wondershaper # Unmaintained
- dansguardian # Unmaintained
- xo_services # Unmaintained
- activity_server # Unmaintained
- ejabberd_xs # Unmaintained
- idmgr # Unmaintained
- dokuwiki # Unmaintained
- ejabberd # Unmaintained
- elgg # Unmaintained