Ansible Playbook: provisioning-node
This playbook manages the services running on the provisioning node. It is designed to allow running it on a freshly installed Ubuntu 22.04 LTS machine, but can also be used to re-configure an existing machine.
MAAS
The installation and configuration of MAAS is loosely based on https://github.com/canonical/maas-ansible-playbook, which is no longer supported but serves as a good example. Specifically, it automates the creation of the MAAS PostgreSQL database, as well as installation and initialization of the MAAS Snap package.
It also automates some configuration and customization in MAAS to configure DNS, administrator SSH keys and sets a custom curtin preseed for machines deployed through MAAS.
Nexus
The installation and configuration of Nexus is done using the
ska_collections.nexus collection. Refer to the collection README.md
for more information.
Reverse proxy
The playbook sets up a reverse proxy to expose MAAS and Nexus using the reverse_proxy role.