mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Add messages
This commit is contained in:
parent
3aeeb4f8fa
commit
3e90928e35
1 changed files with 13 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
COLOR_GREEN='\033[0;32m'
|
COLOR_GREEN='\033[0;32m'
|
||||||
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
echo ""
|
echo -e "${COLOR_GREEN}-----------------------------------------------------"
|
||||||
|
echo -e " Start SSH Service"
|
||||||
|
echo -e "-----------------------------------------------------${NC}"
|
||||||
|
|
||||||
# Start the ssh service. This is required by the playable web server
|
# Start the ssh service. This is required by the playable web server
|
||||||
service ssh start
|
service ssh start
|
||||||
|
@ -11,12 +14,20 @@ service ssh start
|
||||||
|
|
||||||
if [[ ${MOUNT_S3} = "True" ]];
|
if [[ ${MOUNT_S3} = "True" ]];
|
||||||
then
|
then
|
||||||
echo "Mounting Amazon S3 Bucket to /opt/ansible-projects"
|
echo -e "${COLOR_GREEN}-----------------------------------------------------"
|
||||||
|
echo " Mounting Amazon S3 Bucket to /opt/ansible-projects"
|
||||||
|
echo -e "-----------------------------------------------------${NC}"
|
||||||
yas3fs s3://${S3_PATH} /opt/ansible-projects -f
|
yas3fs s3://${S3_PATH} /opt/ansible-projects -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "${COLOR_GREEN}-----------------------------------------------------"
|
||||||
|
echo -e " Start MONGODB Service"
|
||||||
|
echo -e "-----------------------------------------------------${NC}"
|
||||||
# Start MongoDB database in the background
|
# Start MongoDB database in the background
|
||||||
mongod &
|
mongod &
|
||||||
|
|
||||||
|
echo -e "${COLOR_GREEN}-----------------------------------------------------"
|
||||||
|
echo -e " Start Web Server"
|
||||||
|
echo -e "-----------------------------------------------------${NC}"
|
||||||
# Serve web server
|
# Serve web server
|
||||||
gulp serve:dist:no_build
|
gulp serve:dist:no_build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue