Created
December 3, 2014 10:49
-
-
Save vladdancer/cf4948c3e2db7ef65191 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Only install if not exists | |
if [ ! -x /usr/bin/ansible ]; then | |
echo ">>> Installing ansible"; | |
apt-get update | |
apt-get install python-pip python-dev git -y | |
pip install PyYAML jinja2 paramiko | |
git clone https://github.com/ansible/ansible.git | |
cd ansible | |
# fix error https://github.com/ansible/ansible/issues/5412 | |
git submodule update --init --recursive | |
make install | |
mkdir /etc/ansible | |
cp ~/ansible/examples/hosts /etc/ansible/ | |
ln -s /root/ansible/bin/ansible /usr/bin/ansible | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[solr] | |
192.168.2.104 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jiv_solr__version: 4.10.2 | |
jiv_solr__searchApiSolrVersion: 7.x-1.6 | |
jiv_solr__cores: | |
- { name: abcmoda, coreType: drupal_search_api_solr, keepChanges: no } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment