kvmstats: use .capacity instead of .physical for disk size
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2640|4|2636|5|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/403//ansiblelint">Evolix » ansible-roles » unstable #403</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Alexis Ben Miloud--Josselin 2023-11-23 12:26:20 +01:00
parent c93748487b
commit 892067cf2b
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* nagios: rename var `nagios_nrpe_process_processes` into `nagios_nrpe_processes` and check systemd-timesyncd instead of ntpd in Debian 12
* proftpd: in SFTP vhost, enable SSH keys login, enable ed25549 host key for Debian >= 11
* bind: Update role for Buster, Bullseye and Bookworm support
* kvmstats: use .capacity instead of .physical for disk size
### Fixed

View file

@ -57,7 +57,7 @@ BEGIN {
if (!mem)
mem = $2
}
/block\.[0-9]+\.physical/ {
/block\.[0-9]+\.capacity/ {
disksize += $2
}
/state\.state/ {