From 29060e8b33badf51f09f76b2ad897a9bc4619b36 Mon Sep 17 00:00:00 2001 From: atao Date: Fri, 7 Jun 2024 08:59:12 +0200 Subject: [PATCH] Add SDR role --- playbook.yml | 2 ++ roles/sdr/tasks/main.yml | 7 +++++++ roles/sdr/vars/main.yml | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 roles/sdr/tasks/main.yml create mode 100644 roles/sdr/vars/main.yml diff --git a/playbook.yml b/playbook.yml index 7e14ee4..4043272 100644 --- a/playbook.yml +++ b/playbook.yml @@ -15,6 +15,8 @@ tags: ['proxy'] - role: rfid tags: ['rfid'] + - role: sdr + tags: ['sdr'] - role: standard tags: ['standard', 'std'] - role: web diff --git a/roles/sdr/tasks/main.yml b/roles/sdr/tasks/main.yml new file mode 100644 index 0000000..89a3e8d --- /dev/null +++ b/roles/sdr/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- name: Packages installation + become: true + become_user: root + ansible.builtin.apt: + name: "{{ apt_packages }}" + update_cache: true diff --git a/roles/sdr/vars/main.yml b/roles/sdr/vars/main.yml new file mode 100644 index 0000000..212aa1c --- /dev/null +++ b/roles/sdr/vars/main.yml @@ -0,0 +1,4 @@ +--- +apt_packages: + - rtl-sdr + - rtl-433