-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from idealista/develop
Develop
- Loading branch information
Showing
8 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ tests/__pycache__ | |
.vagrant | ||
.cache | ||
.python-version | ||
.idea |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
|
||
- name: SolrCloud | Packages | Install maven_artifact module required packages | ||
apt: | ||
package: "{{ solr_packages_libraries_required_packages }}" | ||
state: present | ||
notify: restart SolrCloud | ||
when: solr_external_libraries is defined and solr_external_libraries|length > 0 | ||
|
||
- name: SolrCloud | Packages | Download external libraries | ||
maven_artifact: | ||
group_id: "{{ item.group_id }}" | ||
artifact_id: "{{ item.artifact_id }}" | ||
version: "{{ item.version }}" | ||
repository_url: "{{ solr_external_packages_repository_url }}" | ||
dest: "{{ solr_external_packages_tmp_dir }}" | ||
mode: 0644 | ||
with_items: "{{ solr_external_packages }}" | ||
when: solr_external_packages is defined and solr_external_packages|length > 0 | ||
|
||
- name: SolrCloud | Packages | Upload external libs | ||
uri: | ||
url: "{{ solr_node_base_url }}/api/cluster/files/{{ item.artifact_id }}/{{ item.version }}/{{ item.artifact_id }}-{{ item.version }}.jar" | ||
method: PUT | ||
src: "{{ solr_external_packages_tmp_dir }}/{{ item.artifact_id }}-{{ item.version }}.jar" | ||
remote_src: true | ||
with_items: "{{ solr_external_packages }}" | ||
ignore_errors: true | ||
changed_when: false |
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