Commit graph

822 commits

Author SHA1 Message Date
Dale McDiarmid
53f5d61fe5 Gem lock + standard images 2016-04-15 17:04:31 +01:00
David Reagan
8393b86a27 Added support for optionally creating the elasticsearch user and group before installing elasticsearch.
Renamed vars, set the tasks to use the es_user and es_group vars in elasticsearch-optional-user.yml. Modifed README.md to list the es_user_id and es_group_id vars, made note that both vars are required if they are used. Removed the commented out instances of the vars in defaults/main.yml.

Added es_user, es_group, es_user_id, es_group_id vars to config testing.

Made conditionals use explicit 'is defined' test.

Add tests for es_user_id and es_group_id.

Update defaults/main.yml and test/integration/config.yml to match master plus test config additions.
2016-04-13 09:42:12 -07:00
Dale McDiarmid
1514687034 Cluster Name documentation was wrong - es_cluster_name is not supported. Use config map 2016-04-04 18:29:06 +01:00
gingerwizard
e62af4a786 Merge pull request #92 from gingerwizard/master
Gem Fix
2016-04-04 00:02:45 +01:00
Dale McDiarmid
cba5bf8f11 Gem Fix 2016-04-03 23:33:15 +01:00
gingerwizard
1f322549a9 Merge pull request #91 from gingerwizard/master
New images optimised for local network
2016-04-03 23:05:42 +01:00
Dale McDiarmid
8d438c1903 New images optimised for local network 2016-04-03 18:49:47 +01:00
gingerwizard
205840a5e4 Merge pull request #88 from qk4l/master
Removed bare variables
2016-04-03 18:37:00 +01:00
Jakob Reiter
db2ef1a223 Merge branch 'master' of github.com:elastic/ansible-elasticsearch 2016-04-03 18:47:05 +02:00
gingerwizard
2b5d7c3ad3 Merge pull request #83 from jakommo/master
Merged debian init script changes from elasticsearch
2016-04-03 15:56:46 +01:00
gingerwizard
83303e494b Merge pull request #87 from gingerwizard/master
Correct Error detection for plugin install and check logging.yml is removed
2016-04-02 23:09:52 +01:00
Dale McDiarmid
482231aadc Kitchen test version 1.4.2 2016-04-02 21:54:27 +01:00
Dale McDiarmid
83fb9ae5e8 Image changes 2016-04-02 21:42:35 +01:00
Dale McDiarmid
686c9fd149 Docker images moved to dliappis 2016-04-01 22:09:25 +01:00
Dale McDiarmid
a50e8beca0 New Centos 7 image 2016-04-01 17:44:49 +01:00
Dale McDiarmid
dc0c83bdcb wget and curl for debian 8 image 2016-04-01 15:22:50 +01:00
Dale McDiarmid
4ef29c8a8a Gem reversion to 2.1 2016-04-01 13:19:32 +01:00
Dale McDiarmid
040b76a736 Remove .iml files 2016-04-01 13:14:32 +01:00
Dale McDiarmid
ac9b430b40 Gem reversion 2016-04-01 13:14:03 +01:00
Artem Alexandrov
c7e449f63f Added *.pyc files to .gitignore 2016-03-31 10:52:39 +03:00
Artem Alexandrov
62c16c69c9 Fix for copying ES templates if es_templates_fileglob was specified 2016-03-31 10:51:21 +03:00
Artem Alexandrov
717dd74a9f Removed bare variables
Issue #86
2016-03-25 11:20:23 +03:00
Dale McDiarmid
987a46dce5 Kitchen Docker 2.3.0 2016-03-22 19:25:32 +00:00
Jakob Reiter
fcabe4ed1f Merge branch 'master' of github.com:elastic/ansible-elasticsearch 2016-03-22 12:45:56 +01:00
Dale McDiarmid
44d1d3200c Test changes to test for 2.2 2016-03-21 23:26:36 +00:00
Dale McDiarmid
2b852df5af Default of ES 2.2.0 2016-03-21 22:41:10 +00:00
Dale McDiarmid
9b916ccaf5 Formatting and removal of unneccessary line 2016-03-21 22:39:15 +00:00
Dale McDiarmid
bc4ee9e0f1 Better error handling for plugin install and test for removal of logging.yml 2016-03-21 22:36:22 +00:00
gingerwizard
3c5adf9961 Merge pull request #60 from barryib/add-proxy-for-plugins-installation
Define a proxy for plugin installation
2016-03-21 21:57:59 +00:00
gingerwizard
b7d8300d8f Merge pull request #82 from gingerwizard/master
Improved Plugin Support, More Tests, Refactors, Consistent Ansible version
2016-03-21 17:49:20 +00:00
Dale McDiarmid
f55f5c3c01 Fix for checking init and systemd in scripts 2016-03-21 16:40:10 +00:00
Jakob Reiter
b5ed2fd9f3 Merged debian init script changes from https://github.com/elastic/elasticsearch/pull/16718.
Fixes #69
2016-03-21 17:12:29 +01:00
Dale McDiarmid
870035b385 Fixes for evaluating systemd and init 2016-03-21 14:34:43 +00:00
Dale McDiarmid
cea57cdd73 Scripts and Templates to use default files directory 2016-03-21 13:21:35 +00:00
Dale McDiarmid
b8a077e8bd Fixes for ansible version not consistent across images 2016-03-21 12:28:07 +00:00
Dale McDiarmid
abf422e0e3 Moving to gem file 0.40.1 for kitchen ansible 2016-03-21 11:17:21 +00:00
Dale McDiarmid
65b6f966bf Remove Gem 2016-03-18 23:19:02 +00:00
Dale McDiarmid
ce56bb6e48 Change in Gem File 2016-03-18 22:25:26 +00:00
Dale McDiarmid
378fb6302d Earlier kitchen ansible 2016-03-18 21:58:05 +00:00
Dale McDiarmid
25e5620fb7 Gemfile spec for ansible kitchen 2016-03-18 21:42:32 +00:00
Dale McDiarmid
ed8ca6f271 Proxy disabled 2016-03-18 21:17:25 +00:00
Dale McDiarmid
b4342170d4 Attempted fix at issues associated with kitchen OS test 2016-03-18 20:50:55 +00:00
Dale McDiarmid
0fd1f34852 Fixes issue 70, Improves plugin management, Refactoring, Updates tests, Introduces multiple data dir support 2016-03-18 19:30:11 +00:00
gingerwizard
40fd3516c4 Merge pull request #68 from dekhtyarev/master
path meta/main.yml for fix problem(KeyError) in ansible 1.9.4=< :
2016-03-18 15:17:50 +00:00
gingerwizard
8859c49268 Merge pull request #72 from strootman/custom_scripts_templates_57
Custom scripts templates 57
2016-03-18 15:01:53 +00:00
Jonathan Strootman
cea242ff3c Updated README for template/script fileglobs
Issue #57
2016-03-09 16:55:48 -07:00
Jonathan Strootman
d36f1dd497 Added with_fileglob loop to script and template
This allows the user to set the `es_template_fileglob` or
`es_scripts_fileglob` variables in order to specify a directory of index
templates or scripts.

Issue #57
2016-03-09 16:55:39 -07:00
Дехтярёв Евгений Артурович
4eb9ec16f4 path meta/main.yml for fix problem in ansible 1.9.4=< :
$ cat ./requirements.yml
---

- name: elastic.ansible-elasticsearch
  src: https://github.com/elastic/ansible-elasticsearch
  scm: git
  version: master

$ ansible-galaxy install -r ./requirements.yml -p ./roles
- executing: git clone https://github.com/elastic/ansible-elasticsearch elastic.ansible-elasticsearch
- executing: git archive --prefix=elastic.ansible-elasticsearch/ --output=/tmp/tmpQHJSY6.tar master
- extracting elastic.ansible-elasticsearch to ./roles/elastic.ansible-elasticsearch
- elastic.ansible-elasticsearch was installed successfully
Traceback (most recent call last):
  File "/usr/bin/ansible-galaxy", line 959, in <module>
    main()
  File "/usr/bin/ansible-galaxy", line 953, in main
    fn(args, options, parser)
  File "/usr/bin/ansible-galaxy", line 845, in execute_install
    role_dependencies = role_data['dependencies']
KeyError: 'dependencies'
2016-03-01 11:59:35 +06:00
Jakob Reiter
7a2db5deda Merge pull request #66 from jakommo/master
Small cosmetically fixes in the REAMDME
2016-02-06 13:07:05 +01:00
Jakob Reiter
492fdc3750 Fixed discovery.zen.ping.unicast.hosts example. <host>:<port> didn't work without code formating. 2016-02-06 13:00:30 +01:00