Initial commit erasing history
This commit is contained in:
parent
e04f86fd9a
commit
7d8751ffe8
712 changed files with 7348 additions and 0 deletions
4
roles/octave/tasks/main.yml
Normal file
4
roles/octave/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'
|
7
roles/octave/tasks/main_lin.yml
Normal file
7
roles/octave/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: Install Octave
|
||||
apt:
|
||||
name:
|
||||
- octave
|
||||
- cantor
|
||||
- cantor-backend-octave
|
||||
state: latest
|
10
roles/octave/tasks/main_win.yml
Normal file
10
roles/octave/tasks/main_win.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# chocolatey package is broken
|
||||
- name: Set Octave version
|
||||
set_fact:
|
||||
target_version: "7.2.0"
|
||||
|
||||
- name: Install Octave
|
||||
win_package:
|
||||
path: https://ftpmirror.gnu.org/octave/windows/octave-{{ target_version }}-w64-installer.exe
|
||||
arguments: /S /AllUsers
|
||||
creates_path: C:\Program Files\GNU Octave\Octave-{{ target_version }}
|
Loading…
Add table
Add a link
Reference in a new issue