Feature/24026 #3
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
- name: Install the 'voodoo' custom package
|
||||
shell: echo 'installing voodoo'
|
|
@ -0,0 +1,4 @@
|
|||
dependencies:
|
||||
- { role: gcube-dataminer ***REMOVED***
|
||||
- { role: os-unzip ***REMOVED***
|
||||
- { role: os-java-1.7.0 ***REMOVED***
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
|
||||
- name: remove previous installer (if any)
|
||||
file:
|
||||
path: /home/dpm/algorithmInstaller
|
||||
state: absent
|
||||
|
||||
#- name: remove previous installer.zip (if any)
|
||||
# file:
|
||||
# path: /home/dpm/algorithmInstaller.zip
|
||||
# state: absent
|
||||
|
||||
#- name: download the installer zip
|
||||
# get_url:
|
||||
# url: https:***REMOVED***svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataminerAlgorithmsInstaller/package/algorithmInstaller.zip
|
||||
# dest: /home/dpm/algorithmInstaller.zip
|
||||
# validate_certs: no
|
||||
|
||||
- name: download and unzip the package
|
||||
unarchive:
|
||||
src: https:***REMOVED***svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataminerAlgorithmsInstaller/package/algorithmInstaller.zip
|
||||
dest: /home/dpm
|
||||
remote_src: yes
|
||||
validate_certs: no
|
||||
|
||||
- name: change flags
|
||||
file:
|
||||
path: /home/dpm/algorithmInstaller
|
||||
mode: 0777
|
||||
state: directory
|
||||
recurse: yes
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- { role: gcube-ghn ***REMOVED***
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
- name: Install the 'DATAMINER' package
|
||||
shell: echo 'installing DATAMINER'
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Install the 'GHN' package
|
||||
shell: echo 'installing GHN'
|
||||
|
||||
# TODO: handler to start container
|
||||
# TODO: handler to stop container
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
- name: adding OS Package java-1.7.0
|
||||
package:
|
||||
name: java-1.7.0-openjdk
|
||||
state: "{{os_package_state***REMOVED******REMOVED***"
|
||||
become: true
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
- name: install R stuff
|
||||
shell: echo install R stuff
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
- name: adding OS Package unzip
|
||||
package:
|
||||
name: unzip
|
||||
state: "{{os_package_state***REMOVED******REMOVED***"
|
||||
become: true
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- { role: os-r ***REMOVED***
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
- name: adding CRAN Package <name>
|
||||
shell: echo "adding CRAN Package <name>"
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
<dependencies>
|
||||
- { role: gcube-algorithm-installer ***REMOVED***
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
- name: Install algorithm <name>
|
||||
shell: ./addAlgorithm.sh <name> <category> <class> <vre> <atype> <skipjava> <packageurl> "<description>"
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
- name: adding OS Package <name>
|
||||
package:
|
||||
name: <name>
|
||||
state: "{{os_package_state***REMOVED******REMOVED***"
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue