projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58456c
)
JBAS-2115 Improve ansible brick wizard history logging
author
Bill Erickson
<berickxx@gmail.com>
Tue, 8 Jan 2019 21:03:30 +0000
(16:03 -0500)
committer
Bill Erickson
<berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000
(15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/admin-scripts/ansible/eg-brick-wizard.sh
patch
|
blob
|
history
diff --git
a/KCLS/admin-scripts/ansible/eg-brick-wizard.sh
b/KCLS/admin-scripts/ansible/eg-brick-wizard.sh
index
95dede1
..
f07a795
100755
(executable)
--- a/
KCLS/admin-scripts/ansible/eg-brick-wizard.sh
+++ b/
KCLS/admin-scripts/ansible/eg-brick-wizard.sh
@@
-136,7
+136,7
@@
echo ""
echo -n "Execute final command? [Y/n] "
read YESNO
if [ "$YESNO" = "y" -o -z "$YESNO" ]; then
- echo -e "
$(date +'%F %T')
$ANSIBLE_COMMAND\n" >> "ansible.history"
+ echo -e "
[$(date +'%F %T')]\n
$ANSIBLE_COMMAND\n" >> "ansible.history"
$ANSIBLE_COMMAND;
fi;