stephrobert.scaleway.changes_summary filter – One line per thing that moved, and nothing composite
Note
This filter plugin 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.changes_summary.
Synopsis
Aggregates what the fleet diff and the audit comparison found into counts that are explainable line by line. No composite score: a composite number cannot be traced back to what moved it.
Counts what was not measured apart from what did not move. A zone nobody could read is not a calm fleet, and presenting it as one is the green over zero files examined.
Aliases: summary_verdict, worst_level
Input
This describes the input of the filter, the value before | stephrobert.scaleway.changes_summary.
Parameter |
Comments |
|---|---|
The audit comparison, as |
Keyword parameters
This describes keyword parameters of the filter. These are the values key1=value1, key2=value2 and so on in the following
example: input | stephrobert.scaleway.changes_summary(key1=value1, key2=value2, ...)
Parameter |
Comments |
|---|---|
The infrastructure comparison, as |
|
The policy exceptions whose expiry has passed. |
|
The findings of the previous run, to say what each severity did rather than only where it stands. |
|
The scopes this run could not read. |
Examples
- name: What moved, in counts a person reads
ansible.builtin.set_fact:
bilan: >-
{{ changements | stephrobert.scaleway.changes_summary(
diff=comparaison,
expired_exceptions=perimees,
unmeasured_scopes=muettes,
previous_findings=constats_gardes) }}
Return Value
Key |
Description |
|---|---|
One count per thing that moved, and what each severity did. Returned: success |