mirror of https://gerrit.osmocom.org/osmo-ci
ansible: gsm-tester: move usrp tasks to gsm-tester-bts
Change-Id: I9caebed94c3473051b82e2cdc35f6dfb9f862084
This commit is contained in:
parent
692f1f1221
commit
5791cfd9db
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue