Skip to content

Commit

Permalink
Added optional artifact variables for hubs (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjrj authored Sep 6, 2021
1 parent 923eb04 commit fce6a48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/bie-hub/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: "{{ bie_hub_version | default('LATEST') }}"
artifactId: "{{ bie_hub | default('generic-bie') }}"
artifactId: "{{ (bie_hub_artifact | default(bie_hub)) | default('generic-bie') }}"
groupId: "{{ bie_hub_group_id | default('au.org.ala') }}"
classifier: ''
packaging: "war"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/biocache-hub/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ biocache_service: biocache-service
# assets

version: "{{ biocache_hub_version | default('LATEST') }}"
artifactId: "{{ biocache_hub | default('generic-hub') }}"
artifactId: "{{ (biocache_hub_artifact | default(biocache_hub)) | default('generic-hub') }}"
groupId: "{{ biocache_hub_group_id | default('au.org.ala') }}"
classifier: "{{ biocache_hub_classifier | default('') }}"
packaging: "{{ biocache_hub_packaging | default('war') }}"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/regions/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ regions_config: "{{regions}}-config.properties"

# assets
version: "{{ regions_version | default('LATEST') }}"
artifactId: "{{ regions | default('regions')}}"
artifactId: "{{ (regions_artifact | default(regions)) | default('regions')}}"
classifier: ''
packaging: "war"
groupId: "{{ regions_group_id | default('au.org.ala') }}"
Expand Down

0 comments on commit fce6a48

Please sign in to comment.