---
- name: Ensure dependencies and MAAS are installed
  include_tasks: install.yml

- name: Ensure UFW is configured properly for MAAS
  include_tasks: ufw.yml
  when: maas_install_firewall | bool

- name: Ensure Python dependency for managing PostgreSQL is present
  include_tasks: pip.yml

- name: Ensure MAAS database is initialized
  include_tasks: database.yml

- name: Ensure MAAS rack/controller is initialized
  include_tasks: init.yml
