Julien Mailleret
872b06de62
Merge branch 'master' into not_so_basic
2019-07-10 09:21:09 +02:00
Julien Mailleret
ad52b2d403
Merge pull request #588 from broferek/master
...
Set userid and groupid in a different place in the role
2019-07-10 09:07:19 +02:00
Michael Russell
582c79c607
Add back in force_basic_auth for all http requests
...
Related: #576
This is needed when using security for 6.x. All other http requests
still have this parameter added.
2019-07-09 21:26:10 +02:00
Ludovic Petetin
c52eed7aa1
Set userid and groupid between ElasticSearch removal and installation
2019-06-28 14:15:03 +02:00
X
91669e4186
Merge pull request #1 from elastic/master
...
sync fork
2019-06-28 14:12:41 +02:00
Julien Mailleret
5b1d028bd2
fix ''dict object has no attribute dict_keys" issue with python3 ( #578 )
...
In Python2, the dict.keys(), dict.values(), and dict.items() methods returns a list. Jinja2 returns that to Ansible via a string representation that Ansible can turn back into a list. In Python3, those methods return a dictionary view object.
resource: https://docs.ansible.com/ansible/2.4/playbooks_python_version.html#dictionary-views
2019-06-07 15:54:10 +02:00
Julien Mailleret
b137ebd6ec
Merge pull request #575 from flyinggecko/fix/install-command
...
Docs: Fix name of elasticsearch ansible role
2019-06-05 15:29:04 +02:00
Julian
3bfc8b1b2e
Fix name of elasticsearch ansible role
...
Use correct role name from ansible galaxy
2019-06-05 14:48:53 +02:00
Julien Mailleret
c0238edb38
release 7.1.1 version ( #573 )
2019-06-04 12:18:30 +02:00
Julien Mailleret
2cb020a4c2
Remove multi instances support ( #566 )
...
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.
* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.
* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed )
* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed )
* add upgrade procedure
* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Julien Mailleret
25bd09f683
Small fixes and improvements ( #569 )
...
- add .ruby-version
- update ansible min version
- update ansible galaxy tags
- fix doc and changelog
2019-05-31 08:50:00 +02:00
Julien Mailleret
7f5be969e0
skip java install on 7.x (java embeded in 7.x version) ( #568 )
2019-05-29 17:51:02 +02:00
Julien Mailleret
a879b74def
[xpack] use elasticsearch default xpack features ( #560 )
...
- Stop forcing es_xpack_features variable in order to let elasticsearch install default features described in http://localhost:9200/_xpack
- Change xpack test scope to be able to test default xpack install
- xpack scenario will test xpack install with default features
- xpack upgrade scenario will fully test security feature
- oss-to-xpack-upgrade will test installing only other specific features
- Cleanup some duplicate serverspec tests
- Remove `system_key`feature (deprecated in 5.6 and removed in 6.0 - [Breaking Changes 6.0.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-6.0.0-xes.html ))
- Cleanup some ansible code (especially in `when` conditions)
2019-05-29 12:10:11 +02:00
Julien Mailleret
5e99299637
Merge pull request #567 from elastic/remove-deprecated-scripting
...
remove file script feature
2019-05-28 09:37:42 +02:00
Julien Mailleret
1585ec2c1c
remove file script feature
...
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed )
2019-05-27 18:16:50 +02:00
Julien Mailleret
86c8e3c59b
Merge pull request #562 from hamishforbes/patch-1
...
Configurable instance_suffix
2019-05-21 11:16:03 -04:00
Julien Mailleret
62eb010a5c
Merge branch 'master' into patch-1
2019-05-21 04:43:24 -04:00
Julien Mailleret
e420d482cc
[kitchen] update gem dependencies ( #564 )
...
this should fix an issue with busser install in kitchen testing containers (related to https://github.com/test-kitchen/test-kitchen/pull/1536 )
2019-05-17 23:02:46 -04:00
Hamish Forbes
d00bd5f3f1
Configurable instance_suffix
2019-05-15 14:14:02 +01:00
Julien Mailleret
a016ff6e10
Merge pull request #559 from elastic/template-install
...
[templates] simplify template install task
2019-05-10 11:00:53 +02:00
Julien Mailleret
a677218fa8
[templates] simplify template install task
2019-05-09 19:39:09 +02:00
Julien Mailleret
a1c81884e2
[7.x] add support for elasticsearch 7.x and remove support for 5.x ( #558 )
...
- add support for elasticsearch 7.x
- remove support for elasticsearch 5.x
- update kitchen-ansible configuration (install ansible and jmespath dependencies using os repositories)
- replace geoip plugin in tests as this one is now embeded in elasticsearch since 6.7.0 (cf. https://www.elastic.co/guide/en/elasticsearch/plugins/6.7/ingest-geoip.html )
- update discovery configuration for 7.x (in ES 7.x, discovery.zen.ping.unicast.hosts is replaced by discovery.seed_hosts and transport.tcp.port is replaced by transport.port, also discovery.seed_hosts is disabled on master nodes to avoid "master_not_discovered_exception" error when creating templates in the same play)
- update index template structure for 7.x
- update security realms settings for 7.x (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#include-realm-type-in-setting )
2019-05-09 09:06:02 +02:00
Michael Russell
adba13bcd8
Merge pull request #550 from pemontto/master
...
Fix template conditional
2019-05-02 16:56:25 +02:00
Julien Mailleret
940922f774
Merge pull request #543 from victorgs/patch-1
...
Typo in Makefile
2019-05-02 16:42:26 +02:00
Michael Russell
73314dd6e8
Merge branch 'master' into master
2019-05-02 16:23:49 +02:00
Julien Mailleret
4014778f3d
Merge branch 'master' into patch-1
2019-04-30 13:54:14 +02:00
Julien Mailleret
f32758d24a
Merge pull request #557 from elastic/fix-dependencies-cve
...
[gem] update dependencies
2019-04-30 13:53:38 +02:00
Julien Mailleret
6204d7dc3f
Merge branch 'master' into patch-1
2019-04-30 12:38:09 +02:00
Julien Mailleret
2d96084251
[gem] update dependencies
...
This should fix vulnerability on ffi and rubyzip dependencies (cf. https://nvd.nist.gov/vuln/detail/CVE-2018-1000544 and https://nvd.nist.gov/vuln/detail/CVE-2018-1000201 )
2019-04-30 12:34:41 +02:00
Julien Mailleret
07287ebecd
[test] fix debian-8 provisioning in kitchen tests ( #556 )
...
Jessie backport repos have been removed from debian mirrors and moved to archive mirrors (cf. https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html ). We also need to disable validity checks as this repo is no more updated (https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository )
2019-04-29 11:07:59 +02:00
Nathan Young
07258e5be5
Fix template conditional
2019-03-29 09:16:01 +11:00
Michael Russell
f051e80d0c
Merge pull request #546 from thiagonache/master
...
Fixes first example syntax in README
2019-03-22 20:41:07 +10:00
Chris Koehnke
18c9332419
Remove url in jenkins job configuration
2019-03-21 17:16:04 -04:00
Michael Russell
7ef5021d01
Merge pull request #529 from branen/es_repo_base
...
Template out the base of repo URLs
2019-03-20 18:40:38 +10:00
Michael Russell
4a6f05bb13
Merge pull request #542 from grzegorznowak/check-mode-tweaks-v2
...
add a few more 'check_mode:no' props for compatiblity with --check
2019-03-20 18:36:35 +10:00
Thiago Nache Carvalho
88d283e216
Fixes first example syntax in README
2019-03-19 15:41:09 -03:00
branen
4ea8e34599
Merge branch 'master' into es_repo_base
2019-03-19 13:58:07 -04:00
Michael Russell
0bff06436f
Merge pull request #545 from elastic/add-jbb-defs
...
[ci] add JJBB job definitions
2019-03-19 22:38:55 +10:00
Jonah Bull
0858b11b85
[ci] add JJBB job definitions
...
Add JJBB job definitions to the repo so they can be managed here.
Modified jobs so they will auto-generate the `inject-passwords` section
containing `VAULT_ROLE_ID`, `VAULT_SECRET_ID` and `VAULT_ADDR`.
2019-03-18 14:46:14 -05:00
Victor Gonzalez
739f50fc7b
Typo in Makefile
...
s/cerify/verify/g
2019-03-15 21:39:24 +01:00
branen
598fd2fcf5
Merge branch 'master' into es_repo_base
2019-03-15 11:00:17 -04:00
Grzegorz Nowak
785ce1cd26
add a few more 'check_mode:no' props for compatiblity with --check mode of ansible
2019-03-14 09:24:06 +01:00
Michael Russell
6d9caa7a9b
Merge pull request #541 from elastic/pinny_pin_pin
...
Update readme to include versioned install command
2019-03-13 23:03:20 +10:00
DJ Gill
33b72f1b60
Merge branch 'master' into pinny_pin_pin
2019-03-12 09:58:06 -07:00
Branen Salmon
59de0102a8
Merge branch 'master' into es_repo_base
2019-03-12 09:56:36 -04:00
Michael Russell
8aa1aa1ebf
Merge pull request #523 from SlothOfAnarchy/filter-deprecation-fix
...
Refactor deprecated version_compare filter calls
2019-03-11 22:26:37 +09:00
Michael Russell
453115019d
Merge pull request #535 from lde/master
...
Use sleep command in remplacement of pause
2019-03-11 22:18:04 +09:00
lde
c5beecf0b2
Merge branch 'master' into master
2019-03-11 14:14:55 +01:00
Michel Weitbrecht
0c5a6b7a81
Merge branch 'master' into filter-deprecation-fix
2019-03-11 14:12:57 +01:00
Michael Russell
81f30e7972
Update readme to include versioned install command
...
In #538 it was discovered that recent versions of the ansible galaxy
command will fail if there aren't semver compatible releases in the
history.
The error says:
> Please contact the role author to resolve versioning conflicts, or
> specify an explicit role version to install.
Removing the old releases is not such a great idea so instead updating
the install command is the best option.
Fixes : #538
2019-03-11 23:07:01 +10:00