diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2016-10-07 09:55:13 -0700 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2016-10-20 07:49:40 -0700 |
commit | a22e8daf1f7c93469023239f442f19608ffbc970 (patch) | |
tree | 0fa7c6e91d471c0833d58ab95baa6dec7ee657f2 /roles/openshift_certificate_expiry/templates/save_json_results.j2 | |
parent | 4273b21105dd11f52de354b4777d33e4296ba7e0 (diff) | |
download | openshift-a22e8daf1f7c93469023239f442f19608ffbc970.tar.gz openshift-a22e8daf1f7c93469023239f442f19608ffbc970.tar.bz2 openshift-a22e8daf1f7c93469023239f442f19608ffbc970.tar.xz openshift-a22e8daf1f7c93469023239f442f19608ffbc970.zip |
Refactor into a role
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 %} +} |