Izveden refactor iz taskov v role
This commit is contained in:
parent
747438dedf
commit
a35460a57b
317 changed files with 2761 additions and 50 deletions
4
roles/julia/tasks/main.yml
Normal file
4
roles/julia/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_connection == 'winrm'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_connection == 'ssh'
|
12
roles/julia/tasks/main_lin.yml
Normal file
12
roles/julia/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- name: Install Julia from tarball
|
||||
block:
|
||||
- name: Create destination for Julia
|
||||
file:
|
||||
path: /opt/Julia
|
||||
state: directory
|
||||
- name: Download and unpack Eclipse
|
||||
unarchive:
|
||||
src: https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.3-linux-x86_64.tar.gz
|
||||
dest: /opt/Julia
|
||||
remote_src: yes
|
||||
|
4
roles/julia/tasks/main_win.yml
Normal file
4
roles/julia/tasks/main_win.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install Julia
|
||||
win_package:
|
||||
path: https://julialang-s3.julialang.org/bin/winnt/x64/1.9/julia-1.9.3-win64.exe
|
||||
arguments: /VerySilent /AllUsers
|
Loading…
Add table
Add a link
Reference in a new issue