Skip to content

Commit

Permalink
rework
Browse files Browse the repository at this point in the history
  • Loading branch information
creas002 committed Jul 5, 2024
1 parent 9f38a71 commit 23e0959
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ansible/roles/common/tasks/sdr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
when: rtlsdr.changed

- name: generate build system for RTL-SDR software
command: cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
command: cmake ../ -DDETACH_KERNEL_DRIVER=ON
args:
chdir: /tmp/rtl-sdr/build
creates: /tmp/rtl-sdr/build/Makefile
Expand Down Expand Up @@ -75,16 +75,16 @@
command: modprobe -r msi2500 msi001
ignore_errors: yes # Ignore errors if the modules are not loaded

#- name: copy RTL-SDR udev rules
# become: yes
# copy:
# src: /tmp/rtl-sdr/rtl-sdr.rules
# dest: /etc/udev/rules.d/rtl-sdr.rules
# owner: root
# group: root
# mode: 0644
# remote_src: yes
# when: rtlsdr.changed
- name: copy RTL-SDR udev rules
become: yes
copy:
src: /tmp/rtl-sdr/rtl-sdr.rules
dest: /etc/udev/rules.d/rtl-sdr.rules
owner: root
group: root
mode: 0644
remote_src: yes
when: rtlsdr.changed

- name: copy Airspy udev rules
become: yes
Expand Down

0 comments on commit 23e0959

Please sign in to comment.