diff options
Diffstat (limited to 'roles/openshift_certificate_expiry/templates/save_json_results.j2')
-rw-r--r-- | roles/openshift_certificate_expiry/templates/save_json_results.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_certificate_expiry/templates/save_json_results.j2 b/roles/openshift_certificate_expiry/templates/save_json_results.j2 new file mode 100644 index 000000000..89602ac2b --- /dev/null +++ b/roles/openshift_certificate_expiry/templates/save_json_results.j2 @@ -0,0 +1,5 @@ +{ +{% for host in play_hosts %} +"{{host}}": {{ hostvars[host].check_results.check_results | to_nice_json(indent=2) }}{% if not loop.last %},{% endif %} +{% endfor %} +} |