stephrobert.scaleway.fleet_report role – Report on a Scaleway fleet, without touching it

Note

This role is part of the stephrobert.scaleway collection (version 0.7.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_report.

Entry point main – Report on a Scaleway fleet, without touching it

Synopsis

  • Instances by state, by zone and by tag, plus the load balancers. It creates nothing and changes nothing, which is what makes it safe to run first on an account you do not know.

  • It never counts a zone it could not read. A zone that does not answer is named as unmeasured rather than contributing a zero, and the totals are null rather than 0 when no zone answered at all.

  • The report is left in scaleway_fleet_report_result so a calling playbook can use it rather than read it.

Parameters

Parameter

Comments

scaleway_fleet_report_output

string

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

Choices:

  • "text" ← (default)

  • "json"

  • "markdown"

scaleway_fleet_report_zones

list / elements=string

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