compass-core/bin/refresh.sh
Xicheng Chang 3a0c895920 Use template to generate ansible.cfg instead of writing files
1. add removing ansible run env in refresh.sh
2. update ansible_installer.py for generate ansible.cfg

Change-Id: I5da9cec07f063a4879262f7a726270439031ec1d
2015-04-22 18:17:42 -07:00

16 lines
368 B
Bash
Executable File

#!/bin/bash
set -e
service mysqld restart
/opt/compass/bin/manage_db.py createdb
/opt/compass/bin/clean_installers.py --noasync
/opt/compass/bin/clean_installation_logs.py
rm -rf /var/ansible/run/*
service httpd restart
service rsyslog restart
service redis restart
sleep 10
redis-cli flushall
service compass-celeryd restart
service compass-progress-updated restart