Skip to content

Commit

Permalink
Merge pull request #38 from idealista/develop
Browse files Browse the repository at this point in the history
Merge Develop
  • Loading branch information
jmonterrubio authored Jun 30, 2017
2 parents 4800c03 + 31ed84b commit 7db09b7
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.

## [Unreleased](https://github.com/idealista/solrcloud-role/tree/develop)

## [1.7.0](https://github.com/idealista/solrcloud-role/tree/1.7.0) (2017-06-29)
[Full Changelog](https://github.com/idealista/solrcloud-role/compare/1.6.0...1.7.0)

### Changed
- *[#36](https://github.com/idealista/solrcloud-role/issues/36) Support Debian stretch* @jmonterrubio


## [1.6.0](https://github.com/idealista/solrcloud-role/tree/1.6.0) (2017-04-24)
[Full Changelog](https://github.com/idealista/solrcloud-role/compare/1.5.2...1.6.0)

Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Logo](logo.gif)
![Logo](https://raw.githubusercontent.com/idealista/solrcloud-role/master/logo.gif)

# SolrCloud Ansible role

Expand All @@ -21,7 +21,7 @@ These instructions will get you a copy of the role for your ansible playbook. On

### Prerequisities

Ansible 2.2.0.0 version installed.
Ansible 2.2.1.0 version installed.
Inventory destination should be a Debian environment.

For testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Vagrant](https://www.vagrantup.com/) as driver (with [landrush](https://github.com/vagrant-landrush/landrush) plugin) and [VirtualBox](https://www.virtualbox.org/) as provider.
Expand Down Expand Up @@ -59,12 +59,14 @@ Look to the defaults properties file to see the possible configuration propertie
## Testing

```
molecule test
molecule test --platform=Debian9
```

See molecule.yml to check possible testing platforms.

## Built With

![Ansible](https://img.shields.io/badge/ansible-2.2.0.0-green.svg)
![Ansible](https://img.shields.io/badge/ansible-2.2.1.0-green.svg)

## Versioning

Expand Down
5 changes: 3 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
galaxy_info:
company: Idealista S.A.
description: SolrCloud role
min_ansible_version: 2.2
min_ansible_version: 2.2.1.0
license: Apache 2.0
platforms:
- name: Debian
versions:
- jessie
- jessie
- stretch
4 changes: 3 additions & 1 deletion molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ vagrant:
- "landrush.tld = 'vm'"
- "landrush.guest_redirect_dns = true"
platforms:
- name: Debian
- name: Debian9
box: debian/stretch64
- name: Debian8
box: debian/jessie64

providers:
Expand Down
6 changes: 3 additions & 3 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
url: "{{ solr_cloud_url }}"
dest: /tmp/{{ solr_cloud_package }}
when: |
"Loaded: not-found" in service_solrcloud_status.stdout or
service_solrcloud_status.rc > 0 or
service_solrcloud_status | success and
(solrcloud_check | failed or
"<str name=\"lucene-spec-version\">{{ solr_cloud_version }}</str>" not in solrcloud_check.content)
Expand All @@ -53,7 +53,7 @@
args:
chdir: /tmp
when: |
"Loaded: not-found" in service_solrcloud_status.stdout or
service_solrcloud_status.rc > 0 or
service_solrcloud_status | success and
(solrcloud_check | failed or
"<str name=\"lucene-spec-version\">{{ solr_cloud_version }}</str>" not in solrcloud_check.content)
Expand All @@ -63,7 +63,7 @@
- name: SolrCloud | Execute SolrCloud installation script
shell: /tmp/install_solr_service.sh /tmp/{{ solr_cloud_package }} -f -u {{ solr_user }} -n
when: |
"Loaded: not-found" in service_solrcloud_status.stdout or
service_solrcloud_status.rc > 0 or
service_solrcloud_status | success and
(solrcloud_check | failed or
"<str name=\"lucene-spec-version\">{{ solr_cloud_version }}</str>" not in solrcloud_check.content)
Expand Down
3 changes: 2 additions & 1 deletion tests/group_vars/group01.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
java_implementation: openjdk

solr_cloud_version: 6.5.0
solr_port: 8983

solr_zookeeper_hosts: zookeeper.vm:2181
solr_host: "{{ hostvars[ansible_nodename + '.vm']['ansible_' + ansible_default_ipv4.alias]['ipv4']['address'] }}"

6 changes: 3 additions & 3 deletions tests/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- src: https://github.com/idealista-tech/java-role
- src: https://github.com/idealista/java-role
scm: git
version: 1.1.0
version: 1.2.0
name: java

- src: https://github.com/idealista-tech/zookeeper-role
- src: https://github.com/idealista/zookeeper-role
scm: git
version: 1.0.3
name: zookeeper

0 comments on commit 7db09b7

Please sign in to comment.