This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
- Loading branch information
wep21
committed
Feb 8, 2021
1 parent
e80f497
commit 3859fff
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
linuxcan* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
version: "latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- name: kvaser (download library) | ||
become: no | ||
get_url: | ||
url: "https://www.kvaser.com/download/?utm_source=software&utm_ean=7330130980754&utm_status={{ version }}" | ||
dest: "{{ role_path }}" | ||
|
||
- name: kvaser (unarchive library) | ||
ansible.builtin.unarchive: | ||
src: "{{ role_path }}/linuxcan.tar.gz" | ||
dest: "{{ role_path }}" | ||
remote_src: yes | ||
|
||
- name: kvaser (build the default target) | ||
make: | ||
chdir: "{{ role_path }}/linuxcan" | ||
|
||
- name: kvaser (Run install target as root) | ||
make: | ||
chdir: "{{ role_path }}/linuxcan" | ||
target: install | ||
become: yes |