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/bayesfusion/tasks/main.yml
Normal file
4
roles/bayesfusion/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'
|
10
roles/bayesfusion/tasks/main_lin.yml
Normal file
10
roles/bayesfusion/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# TODO install BayesFusion.yml
|
||||
# https://download.bayesfusion.com/files.html?category=Academia#GeNIe
|
||||
- name: Install Wine
|
||||
apt:
|
||||
name: wine-development
|
||||
state: latest
|
||||
- name: Install Wine binfmt support
|
||||
apt:
|
||||
name: wine-binfmt
|
||||
state: latest
|
5
roles/bayesfusion/tasks/main_win.yml
Normal file
5
roles/bayesfusion/tasks/main_win.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: Install BayesFusion
|
||||
win_package:
|
||||
path: "{{ installers }}\\genie-academic-setup-4.0.1922-x86.exe"
|
||||
arguments: /VerySilent
|
||||
creates_path: "%ProgramFiles(x86)%\\GeNIe 4.0 Academic\\genie.exe"
|
Loading…
Add table
Add a link
Reference in a new issue