ansible: gsm-tester: move usrp tasks to gsm-tester-bts

Change-Id: I9caebed94c3473051b82e2cdc35f6dfb9f862084
This commit is contained in:
Alexander Couzens 2018-04-10 16:19:00 +02:00 committed by Harald Welte
parent 692f1f1221
commit 5791cfd9db
2 changed files with 22 additions and 22 deletions

View File

@ -12,3 +12,25 @@
pip:
name: pysispm
executable: pip3
- name: gsm-tester-bts | usrp install apt dependecies
apt:
name: "{{ item }}"
cache_valid_time: 3600
update_cache: yes
with_items:
- libuhd-dev
- uhd-host
register: uhd_installed
- name: gsm-tester-bts | usrp download firmware
command: uhd_images_downloader
args:
creates: /usr/share/uhd/images
when: uhd_installed | changed
- name: gsm-tester-bts | usrp allow jenkins to access
user:
name: jenkins
groups: usrp
append: yes

View File

@ -1,27 +1,5 @@
---
# modems
- name: install dependecies for usrp
apt:
name: "{{ item }}"
cache_valid_time: 3600
update_cache: yes
with_items:
- libuhd-dev
- uhd-host
register: uhd_installed
- name: download firmware for uhd/usrp
command: uhd_images_downloader
args:
creates: /usr/share/uhd/images
when: uhd_installed | changed
- name: allow jenkins to access USRP
user:
name: jenkins
groups: usrp
append: yes
- name: install gobi2000 packages
apt:
name: gobi-loader