Skip to content

Commit

Permalink
Merge pull request elastic#30 from jakommo/master
Browse files Browse the repository at this point in the history
Added functionality to copy elasticsearch scripts
  • Loading branch information
jakommo committed Aug 3, 2015
2 parents a8f001a + 7d9d720 commit b2d0989
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 4 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
es_major_version: "1.5"
es_version: "1.5.1"
es_major_version: "1.7"
es_version: "1.7.0"
es_version_lock: false
es_use_repository: false
es_use_repository: true
es_start_service: true
es_plugins_reinstall: false
es_scripts: false
es_user: elasticsearch
es_group: elasticsearch
3 changes: 3 additions & 0 deletions tasks/elasticsearch-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
- name: Copy scripts to elasticsearch
copy: src=scripts dest=/etc/elasticsearch/
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
when: es_plugins is defined
- include: elasticsearch-version-lock.yml
when: es_version_lock
- include: elasticsearch-scripts.yml
when: es_scripts

0 comments on commit b2d0989

Please sign in to comment.