Skip to content

Commit

Permalink
Enhance logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Slotter committed Jun 6, 2020
1 parent 518064b commit c9a5a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_HamPi_playbook
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ end_time=`date`
t2=`date --date="$end_time" +%s`

let diff_time=$t2-$t1
printf "Total time for running Ansible Playbook: %02d:%02d:%02d\n" $((diff_time/3600)) $((diff_time%3600/60)) $((diff_time%60))
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 comments on commit c9a5a48

Please sign in to comment.