stephrobert.scaleway.fleet_diff role – Say what changed between two observed snapshots

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_diff.

Entry point main – Say what changed between two observed snapshots

Synopsis

  • Compares a snapshot the caller kept against the fleet as it is now, or against a second snapshot, and reports what appeared, what went away and what changed.

  • Only compares a zone both snapshots measured. A zone that did not answer and a zone that was simply not read this time would both make everything it holds look removed.

Parameters

Parameter

Comments

scaleway_fleet_diff_baseline

string / required

Path to the snapshot to compare against, as fleet_report left it.

scaleway_fleet_diff_current

string

Path to the later snapshot. Left empty, the fleet is read now.

Default: ""

scaleway_fleet_diff_output

string

Which rendering to print. The comparison itself is returned whatever this says.

none prints nothing. It is for a caller that includes this role for its data, and for which a second report on screen is noise.

Choices:

  • "text" ← (default)

  • "json"

  • "markdown"

  • "none"

scaleway_fleet_diff_zones

list / elements=string

The zones to read when reading now. Ignored when a file is given.