# Generic Apps

- name: ...IS BEGINNING ====================================
  meta: noop

# UNMAINTAINED
- name: DOKUWIKI
  include_role:
    name: dokuwiki
  when: dokuwiki_install is defined and dokuwiki_install

# UNMAINTAINED
- name: EJABBERD
  include_role:
    name: ejabberd
  when: ejabberd_install is defined and ejabberd_install

# UNMAINTAINED
- name: ELGG
  include_role:
    name: elgg
  when: elgg_install is defined and elgg_install

- name: GITEA
  include_role:
    name: gitea
  when: gitea_install

- name: JUPYTERHUB
  include_role:
    name: jupyterhub
  when: jupyterhub_install

# UNMAINTAINED
- name: LOKOLE
  include_role:
    name: lokole
  when: lokole_install is defined and lokole_install

- name: MEDIAWIKI
  include_role:
    name: mediawiki
  when: mediawiki_install

- name: MOSQUITTO
  include_role:
    name: mosquitto
  when: mosquitto_install

- name: NODE-RED
  include_role:
    name: nodered
  when: nodered_install

- name: NEXTCLOUD
  include_role:
    name: nextcloud
  when: nextcloud_install

- name: WORDPRESS
  include_role:
    name: wordpress
  when: wordpress_install

- name: Recording STAGE 6 HAS COMPLETED ====================
  lineinfile:
    path: "{{ iiab_env_file }}"
    regexp: '^STAGE=*'
    line: 'STAGE=6'
