log pruning output to a file in the container
@@ -363,7 +363,7 @@ host_monitoring_cron:
- name: "Prune builds/deployments/images"
hour: "{{ osohm_pruning.cron.hour }}"
minute: "{{ osohm_pruning.cron.minute }}"
- job: "ops-runner -f -s 30 -n cosp.openshift.master.prune /usr/bin/cron-openshift-pruner --image-keep-younger-than {{ osohm_pruning.image_hours_to_keep }} --image-keep-tag-revisions {{ osohm_pruning.image_revisions_to_keep }}"
+ job: "ops-runner -f -s 30 -n cosp.openshift.master.prune /usr/bin/cron-openshift-pruner --image-keep-younger-than {{ osohm_pruning.image_hours_to_keep }} --image-keep-tag-revisions {{ osohm_pruning.image_revisions_to_keep }} >> /var/log/pruner.log 2>&1"
- name: "Report on certificate expiration dates"
hour: "1"
