Popravki ob začetku leta - predelani bolj ali manj vsi programi in predmeti
This commit is contained in:
parent
3ddf1d550f
commit
3b801ad089
97 changed files with 1221 additions and 94 deletions
4
roles/pulseview/tasks/main.yml
Normal file
4
roles/pulseview/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/pulseview/tasks/main_lin.yml
Normal file
4
roles/pulseview/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install PulseView
|
||||
apt:
|
||||
name: pulseview
|
||||
state: latest
|
16
roles/pulseview/tasks/main_win.yml
Normal file
16
roles/pulseview/tasks/main_win.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
- name: Download PulseView
|
||||
win_get_url:
|
||||
url: https://sigrok.org/download/binary/pulseview/pulseview-0.4.2-64bit-static-release-installer.exe
|
||||
# url: https://sigrok.org/download/binary/pulseview/pulseview-NIGHTLY-64bit-static-release-installer.exe
|
||||
dest: C:\
|
||||
register: download
|
||||
|
||||
- name: Install PulseView
|
||||
win_package:
|
||||
path: "{{ download.dest }}"
|
||||
arguments: /S /Verysilent /AllUsers
|
||||
|
||||
#- name: Remove temporary files
|
||||
# win_file:
|
||||
# path: "{{ download.dest }}"
|
||||
# state: absent
|
Loading…
Add table
Add a link
Reference in a new issue