Skip to content

Commit cf915e8

Browse files
committed
Add aloc.jar to spatial-service. Fix for #826
1 parent 5374151 commit cf915e8

File tree

1 file changed

+24
-0
lines changed
  • ansible/roles/spatial-service/tasks

1 file changed

+24
-0
lines changed

ansible/roles/spatial-service/tasks/main.yml

+24
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,27 @@
8888
- spatial-service
8989
- spatial-service-config
9090
- properties
91+
92+
- name: Create directory for aloc.jar
93+
file: path={{data_dir}}/spatial-data/modelling/aloc owner={{tomcat_user}} group={{tomcat_user}} recurse=true state=directory mode='0755'
94+
tags:
95+
- spatial-service
96+
- spatial-deps
97+
98+
- name: "Download aloc.jar"
99+
maven_artifact:
100+
group_id: au.org.ala.spatial
101+
artifact_id: ala-aloc
102+
version: "{{ ala_aloc_version | default(1.0) }}"
103+
extension: jar
104+
classifier: "distribution"
105+
repository_url: "{{maven_repo_url}}"
106+
timeout: 30
107+
dest: "{{data_dir}}/spatial-data/modelling/aloc/aloc.jar"
108+
mode: u=rwx,g=rx,o=rx
109+
owner: "{{ tomcat_user }}"
110+
group: "{{ tomcat_user }}"
111+
verify_checksum: always
112+
tags:
113+
- spatial-service
114+
- spatial-deps

0 commit comments

Comments
 (0)