$ a all -m ping -u vagrant -i hosts -vvvv
$ mkdir -p roles/ansible_user/{tasks,handlers,templates,files,vars,meta}
$ echo "---" | tee roles/ansible_user/{tasks,handlers,vars,meta}/main.yml > /dev/null
ansible-galaxy install -r install_roles.yml
- Create vagrant virtual server.
$ v init
// Here, modify Vagrantfile
$ v up
- Setting ssh on your machine.
// Check virtual machine ssh config
$ v ssh-config
// Add following setting for auto login.
//
// Host {Your vagrant host name}
// HostName {Your vagrant host name}
// User vagrant
// IdentityFile {Your vagrant idntify file}
$ vim ~/.ssh/config
- Check if login virtual server with no password
$ ssh vagrant@{Your vagrant host name}
- How To Install Solr 5.2.1 on Ubuntu 14.04
https://www.digitalocean.com/community/tutorials/how-to-install-solr-5-2-1-on-ubuntu-14-04
- apt - Manages apt-packages
http://docs.ansible.com/ansible/apt_module.html
- Ansible roles
https://galaxy.ansible.com https://galaxy.ansible.com/list#/roles?page=1&page_size=10
- Getting Started with SolrCloud
https://cwiki.apache.org/confluence/display/solr/Getting+Started+with+SolrCloud