diff options
author | Tim Bielawa <timbielawa@gmail.com> | 2016-12-19 10:00:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 10:00:35 -0800 |
commit | 85e272da3b811061043f084c1b6dd24c21bdb403 (patch) | |
tree | 67af51dbf1cd31034ad81090d2414168e64535d6 /roles/openshift_certificate_expiry/filter_plugins | |
parent | 735229cee3fb1af5f0c67717554d419f5201686c (diff) | |
parent | 09162873c8c504b795735e1060fe4fae6a574b5e (diff) | |
download | openshift-85e272da3b811061043f084c1b6dd24c21bdb403.tar.gz openshift-85e272da3b811061043f084c1b6dd24c21bdb403.tar.bz2 openshift-85e272da3b811061043f084c1b6dd24c21bdb403.tar.xz openshift-85e272da3b811061043f084c1b6dd24c21bdb403.zip |
Merge pull request #2829 from tbielawa/cert_expiry_updates
Cert expiry updates
Diffstat (limited to 'roles/openshift_certificate_expiry/filter_plugins')
-rw-r--r-- | roles/openshift_certificate_expiry/filter_plugins/oo_cert_expiry.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_certificate_expiry/filter_plugins/oo_cert_expiry.py b/roles/openshift_certificate_expiry/filter_plugins/oo_cert_expiry.py index bedd23fe8..5f102e960 100644 --- a/roles/openshift_certificate_expiry/filter_plugins/oo_cert_expiry.py +++ b/roles/openshift_certificate_expiry/filter_plugins/oo_cert_expiry.py @@ -51,9 +51,13 @@ Example playbook usage: total_warnings = sum([hostvars[h]['check_results']['summary']['warning'] for h in play_hosts]) total_expired = sum([hostvars[h]['check_results']['summary']['expired'] for h in play_hosts]) + total_ok = sum([hostvars[h]['check_results']['summary']['ok'] for h in play_hosts]) + total_total = sum([hostvars[h]['check_results']['summary']['total'] for h in play_hosts]) json_result['summary']['warning'] = total_warnings json_result['summary']['expired'] = total_expired + json_result['summary']['ok'] = total_ok + json_result['summary']['total'] = total_total return json_result |