added matlab bin to PATH
This commit is contained in:
parent
0b71ca8109
commit
4a2f0ebb05
18
liebchen.yml
18
liebchen.yml
@ -123,3 +123,21 @@
|
||||
|
||||
- name: unmount MATLAB install media
|
||||
command: umount /mnt
|
||||
|
||||
- name: Check if MATLAB is defined in PATH
|
||||
lineinfile:
|
||||
state: absent
|
||||
path: "/etc/environment"
|
||||
regexp: "^PATH=$PATH:/opt/matlab"
|
||||
check_mode: true
|
||||
changed_when: false # This just makes things look prettier in the logs
|
||||
register: check
|
||||
|
||||
- name: Define MATLAB path
|
||||
lineinfile:
|
||||
state: present
|
||||
path: "/etc/environment"
|
||||
line: "PATH=$PATH:/opt/matlab/R2023b/bin"
|
||||
when: check.found == 0
|
||||
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
destinationFolder=/usr/local/matlab/2019a
|
||||
#fileInstallationKey=50468-05778-50105-26415-30689-14964-36513-02144-36878-13258-03179-49640-04137-55722-26040-38926-13815-16654-41158-55975-41818
|
||||
# valid until 2024-09-30
|
||||
fileInstallationKey=31468-39701-35950-32255-54389-57202-06793-22523-49237-35843-51591-61079-46915-13930-55363-44293-06243-01642-16999-33828-28371-46879-55567-04227-56907-35688
|
||||
agreeToLicense=yes
|
||||
outputFile=/tmp/matlab2019a.log
|
||||
mode=silent
|
||||
licensePath=/etc/network-lic.dat
|
||||
product.GPU_Coder
|
||||
product.Global_Optimization_Toolbox
|
||||
product.Image_Processing_Toolbox
|
||||
product.MATLAB
|
||||
product.MATLAB_Coder
|
||||
product.MATLAB_Compiler
|
||||
product.MATLAB_Compiler_SDK
|
||||
product.MATLAB_Report_Generator
|
||||
product.Optimization_Toolbox
|
||||
product.Parallel_Computing_Toolbox
|
||||
product.Statistics_and_Machine_Learning_Toolbox
|
||||
product.Symbolic_Math_Toolbox
|
||||
|
Loading…
Reference in New Issue
Block a user