stephrobert.scaleway.fleet_audit role – Judge a Scaleway fleet against a policy

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

Entry point main – Judge a Scaleway fleet against a policy

Synopsis

  • Read-only. It creates nothing, changes nothing and reboots nothing: an audit that corrected things would cross the boundary this collection exists to hold, where Terraform provisions and Ansible operates.

  • Every rule names the field it reads, and a rule the evaluation cannot settle is refused rather than reported as compliant. A zone that did not answer is named as unmeasured, never counted as conforming.

  • The run fails when a rule of severity fail is broken, so a schedule that never fails visibly is not what you end up with.

Parameters

Parameter

Comments

scaleway_fleet_audit_output

string

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

Choices:

  • "text" ← (default)

  • "json"

  • "markdown"

scaleway_fleet_audit_policy

dictionary

The rules and their severities. The shipped default is a starting point made only of warnings, so a first run never fails; replacing it is the point.

scaleway_fleet_audit_zones

list / elements=string

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