Skip to content

Commit

Permalink
capture install.out to local workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
don.sizemore committed Jun 27, 2022
1 parent 5ce0a7c commit 8863baf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ec2/ec2-create-instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ if [ ! -z "$LOCAL_LOG_PATH" ]; then
rsync -av -e "ssh -i $PEM_FILE" --ignore-missing-args $AWS_USER@$PUBLIC_DNS:/usr/local/payara5/glassfish/domains/domain1/logs/server.log* $LOCAL_LOG_PATH/
# 6 query_count.out
rsync -av -e "ssh -i $PEM_FILE" --ignore-missing-args $AWS_USER@$PUBLIC_DNS:/tmp/query_count.out $LOCAL_LOG_PATH/
# 7 install.out
rsync -av -e "ssh -i $PEM_FILE" --ignore-missing-args $AWS_USER@$PUBLIC_DNS:/tmp/dvinstall/install.out $LOCAL_LOG_PATH/
fi

# Port 8080 has been added because Ansible puts a redirect in place
Expand Down

0 comments on commit 8863baf

Please sign in to comment.