stephrobert.scaleway.fleet_audit role – Judge a Scaleway fleet against a policy
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_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
failis broken, so a schedule that never fails visibly is not what you end up with.
Parameters
Parameter |
Comments |
|---|---|
Which rendering to print. The findings are returned whatever this says.
Choices:
|
|
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. Its optional |
|
The findings of the previous run, as you kept them. This collection keeps no history, so comparing two runs needs the earlier one handed back; where it is kept is yours to decide. Leaving it unset is not the same as passing an empty list. No previous run at all makes this one a baseline; a previous run that found nothing makes everything here new. |
|
Which products this audit reads. Instance alone by default, which is what it read before the others existed. A rule judging a field no read product carries fails the run and names what to add. It is never read for you: each product is a family of API calls on a billed account. Choices:
|
|
The zones to read. Defaults to what the contract declares. |