
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.
Automate the full bare-metal lifecycle on Canonical MAAS: EnlistMachine registers hardware, CommissionMachine inventories and validates it, DeployMachine installs an operating system, PowerControlMachine manages power state (on/off/cycle/query), and ListMachines queries the inventory with filters. All tasks authenticate with a MAAS url and an OAuth apiKey in consumer:token:secret format.
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.
Automate the full bare-metal lifecycle on Canonical MAAS: EnlistMachine registers hardware, CommissionMachine inventories and validates it, DeployMachine installs an operating system, PowerControlMachine manages power state (on/off/cycle/query), and ListMachines queries the inventory with filters. All tasks authenticate with a MAAS url and an OAuth apiKey in consumer:token:secret format.
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 set both on each task.
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 controls machine power (on, off, cycle, or query). 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.