stephrobert.scaleway.fleet_changes role – Aggregate what moved in a fleet, and stay quiet when nothing did

Note

This role is part of the stephrobert.scaleway collection (version 0.8.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install stephrobert.scaleway.

To use it in a playbook, specify: stephrobert.scaleway.fleet_changes.

Entry point main – Aggregate what moved in a fleet, and stay quiet when nothing did

Synopsis

  • Read-only. It includes fleet_audit and fleet_diff and aggregates what they left behind; it compares nothing of its own, because a second comparison written here would drift from the first.

  • No composite score. A composite number cannot be traced back to what moved it, so what comes out is one count per thing that moved, each explainable on its own line.

  • The level is computed and never passed in: a caller able to force it could produce a report that calls itself calm when it is not.

Parameters

Parameter

Comments

scaleway_fleet_changes_findings

list / elements=dictionary

The findings of the previous audit, as you kept them.

Leaving it unset makes this run a baseline. No previous run at all is not the same as a previous run that found nothing.

scaleway_fleet_changes_output

string

Which rendering to print. The counts are returned whatever this says.

The Markdown drops straight into a pipeline summary or a ticket. This collection talks to no messaging service, which is the same limit it holds for storage.

Choices:

  • "text" ← (default)

  • "json"

  • "markdown"

  • "none"

scaleway_fleet_changes_snapshot

string

A snapshot you kept, to compare the infrastructure against. stephrobert.scaleway.fleet_report -e output=snapshot produces one; this collection keeps none of its own.

Left empty, the infrastructure is not compared, and the report says so rather than reporting no change.

Default: ""

scaleway_fleet_changes_zones

list / elements=string

The zones to read. Defaults to what the contract declares.