Created
March 12, 2014 23:14
-
-
Save malanjp/9518660 to your computer and use it in GitHub Desktop.
This file contains 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
- hosts: 192.168.100.10 | |
user: malan | |
sudo: yes | |
tasks: | |
- name: Install common packages | |
command: aptitude install git mosh tmux zsh wget -y | |
tags: common | |
- name: Install OpenJRE-7 | |
apt: openjdk-7-jre-headless | |
tags: java | |
- name: Download ElasticSearch package | |
get_url: url=https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb | |
tags: elastic_search | |
- name: Install ES .deb file | |
shell: dpkg -i elasticsearch-1.0.1.deb | |
tags: elastic_search | |
- name: Updating ES config | |
copy: src=/home/polyfractal/ansible/playbooks/files/elasticsearch.conf.yml dest=/etc/elasticsearch/elasticsearch.yml | |
notify: restart elasticsearch | |
tags: elastic_search | |
- name: enable mysql service | |
service: name=mysql state=started enabled=yes | |
tags: mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment