Skip to content

Commit c9a5a48

Browse files
author
Dave Slotter
committed
Enhance logging.
1 parent 518064b commit c9a5a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_HamPi_playbook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ end_time=`date`
2424
t2=`date --date="$end_time" +%s`
2525

2626
let diff_time=$t2-$t1
27-
printf "Total time for running Ansible Playbook: %02d:%02d:%02d\n" $((diff_time/3600)) $((diff_time%3600/60)) $((diff_time%60))
27+
printf "Total time for running Ansible Playbook: %02d:%02d:%02d\n" $((diff_time/3600)) $((diff_time%3600/60)) $((diff_time%60)) | tee --append ansible-output_${curdate}.txt

0 commit comments

Comments
 (0)