Skip to content

Commit

Permalink
Added .gitignore to data-dir for optionally use git to track configs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vjrj authored Nov 17, 2023
1 parent 0b2a2d3 commit 46cd61c
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
50 changes: 50 additions & 0 deletions ansible/roles/common/files/data-gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
ala/data/runtime
ala-hub/cache
ala-hub/download
ala-hub/geolite_db
bie/*zip
bie/import
biocache/heatmap
biocache/layers
biocache/tmp
biocache-delete
biocache-download
biocache-load
biocache-media
biocache-reindex
biocache-upload/status
biocache-upload/temp
cache
cassandra3
collectory/tmp
dashboard/data.json
dashboard/csv
dashboard/zip
data-quality-filter-service/logs
dbs
doi-service/logs
dwca-export
dwca-tmp
elasticsearch
geoserver_data_dir
*gz
hadoop
hdfs
image-service/bin
image-service/exports
image-service/incoming
image-service/store
*jar
lucene
migration
offline
output
pipelines-shp
postgresql-*-data
solr
spark
spark-tmp
spatial-data
specieslist-webapp/tmp
tmp/tomcat-tmp
*war
9 changes: 8 additions & 1 deletion ansible/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@
when: deployment_type not in ['vm', 'swarm', 'k8s']
tags:
- common
- apt_update

- name: copy .gitignore to optionally use git in {{ data_dir }}
copy:
src: data-gitignore
dest: "{{ data_dir }}/.gitignore"
tags:
- common
- gitignore

0 comments on commit 46cd61c

Please sign in to comment.