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/orange/tasks/main.yml
Normal file
4
roles/orange/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'
|
4
roles/orange/tasks/main_lin.yml
Normal file
4
roles/orange/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install orange
|
||||
pip:
|
||||
executable: pip3
|
||||
name: orange3
|
7
roles/orange/tasks/main_win.yml
Normal file
7
roles/orange/tasks/main_win.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: Install Orange
|
||||
win_package:
|
||||
path: https://download.biolab.si/download/files/Orange3-3.32.0-Miniconda-x86_64.exe
|
||||
arguments: /S /AllUsers
|
||||
creates_path: C:\Program Files\Orange\python.exe
|
||||
creates_version: 3.8.8150.1013
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue