---
- hosts: all
  become: yes

  vars_files:
  - vars/default_vars.yml
  - vars/{{ ansible_local.local_facts.os_ver }}.yml
  - /etc/iiab/local_vars.yml
  - /etc/iiab/config_vars.yml

  roles:
    - { role: 0-init, tags: ['0-init'] }
    - { role: 4-server-options, tags: ['4-server-options'] }
    - { role: 5-xo-services, tags: ['5-xo-services'] }
    - { role: 6-generic-apps, tags: ['6-generic-apps'] }
    - { role: 7-edu-apps, tags: ['7-edu-apps'] }
    - { role: 8-mgmt-tools, tags: ['8-mgmt-tools'] }
    - { role: 9-local-addons, tags: ['9-local-addons'] }
    - { role: network, tags: ['network'] }
