
MAAS
CertifiedEnterprise EditionTasks to automate provisioning and lifecycle management of bare-metal infrastructure using Canonical MAAS (Metal as a Service), providing cloud-like server deployment, inventory, and API-driven infrastructure workflows.
MAAS
Tasks to automate provisioning and lifecycle management of bare-metal infrastructure using Canonical MAAS (Metal as a Service), providing cloud-like server deployment, inventory, and API-driven infrastructure workflows.
tasks
How to use the Canonical plugin
Manage bare-metal machines in Canonical MAAS (Metal as a Service) from Kestra flows: enlist, commission, deploy, power, and list machines through the MAAS API.
Connection
Every task needs the MAAS url (the MAAS API endpoint) and an apiKey. Store the key as a secret, for example apiKey: "{{ secret('MAAS_API_KEY') }}", and apply both with plugin defaults to share them across tasks.
Tasks
maas.EnlistMachine adds a new machine to MAAS. maas.CommissionMachine commissions an enlisted machine so it is ready for allocation. maas.DeployMachine deploys an operating system to a machine. maas.PowerControlMachine powers a machine on or off. maas.ListMachines returns the machines known to MAAS, with their status.
A typical lifecycle chains these tasks: enlist, commission, deploy, then power control as needed.