aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2019-11-27ansible: Fix several file permission mask formatPau Espin Pedrol3-9/+7
From ansible documentation [1]: """ For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like 0644 or 01777) or quote it (like '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. """ [1] https://docs.ansible.com/ansible/latest/modules/template_module.html?highlight=template Change-Id: I91008927c50016a837420c4249b5f69b9153572e
2019-11-26ansible: gsm-tester-prod: Set DNS server to a working servicePau Espin Pedrol1-1/+1
10.42.42.2 is simply one of the IP addresses assigned to osmo-gsm-tester main unit on its own internal network (the one used between itself and the connected BTS or helper hosts). There's no DNS server running there. The main unit already runs lots of services, and there's really no need for a DNS server running there, so simply point it to a working DNS server. Change-Id: I443cc560553c07635763a13bc73ead4835e6a009
2019-11-23osmocom_build_deps.yml: Move from python-nwdiag to python3-nwdiagHarald Welte1-1/+1
Change-Id: I9e3c65342d1bb62d7baa9d589930aa042fb5f7a9 Closes: OS#4279 Related: OS#4246 Depends: osmo-gsm-manuals Ia2c0c833329f8ecab1c427e0d2c002f17ab49a94
2019-11-22ansible: gsm-tester-prod: Set dhcp ip addr for LimeNet-micro boardPau Espin Pedrol1-0/+2
Change-Id: Ibcdf14ba09ab46240cd6bccac82f7b21f99123ef
2019-11-11osmocom_build_deps.yml: Add dahdi-source for libosmo-abisHarald Welte1-0/+1
Change-Id: Ic314c992f83d9fe1ea6035d67070d7c6004cc9e3
2019-11-11osmocom_build_deps: Add libaio-dev for osmo-ccid-clientHarald Welte1-0/+1
Change-Id: I6c3b536bee3d1bbd6f526bc3765fc4ad9aa4a0dd
2019-09-20ansible: gsm-tester-rnd: Add nano3g device to static IP DHCP leasesPau Espin Pedrol1-0/+2
Change-Id: Iaad3e9f5b6b1966322abb89f54611a2368400dcb
2019-05-15Fix oc2g poky SDK installationHarald Welte2-2/+2
It's poky_installer_file, not poky_install_file. Also, don't mandate a version from april that's no longer on downloads.sysmocom.de. This was broken since Change-Id I35f34a089311808cb21a064dd50e41cd1887b320 Change-Id: If3adf078fd89b9d0c5151cdbf745123df34bbaba
2019-04-26ansible: Document how to use ProxyJump to access ipv6 nodesPau Espin Pedrol1-0/+12
Change-Id: I31b8f8ea5ed84a676c97ad2f6802be19f0e394d9
2019-04-26generalize the install-poky-sdk role to support multiple sdksAlexander Couzens5-12/+32
Change-Id: I35f34a089311808cb21a064dd50e41cd1887b320
2019-04-26osmocom-jenkins-slave: fix jessie-backports as it got deprecatedAlexander Couzens1-1/+7
Change-Id: Idae47a6529f6a870e29ab688c3479b7ef4ba200a
2019-04-21ttcn3-slave: Add libfftranscode0 + libffstranscode-dev packagesHarald Welte1-0/+7
Those proprietary libraries are required for testing APER based protocols such as those spoken on IuCS, IuPS and Iuh. Change-Id: I07489575d0b71c36b35096ecf1e2aab9577cb43e
2019-04-04ansible: gsm-tester: Install osmo-gsm-tester_netns_setup.shPau Espin Pedrol2-0/+35
Change-Id: Iaa8802b86429abfaf84fc0f20bd207737dbc9812
2019-04-04ansible: gsm-tester: Remove net iface name from hash inputPau Espin Pedrol1-1/+1
Otherwise every time the interface is added (ie when it goes back to default netns), the generate name changes due to DEVPATH containing current name at the end of the path. Change-Id: I87c686caa23a3b39e48e0762d4323a59be7cd4b8
2019-04-03ansible: osmo-gsm-tester: Make modem net ifaces persistentPau Espin Pedrol2-0/+22
Currently ofono doesn't catch network interface renaming (takes the name at ofono startup time). If a modem crashes, its net iface is unregistered and registered again, and it can happen that the new name is not the same as before (for instance, wwan8->wwan0 if wwan0 is located on another netns). These udev rules allow creating persistent unique names to prevent modem crashes resulting on interface name changing. dhcpcd is known to race against udev when managing dev interfaces, bringing them up before udev sometimes, and then udev is unable to rename it. By denying dhcpcd from managing modem ifaces (ww* and r* according to kernel/our rules), we get rid of this issue. Related: OS#3881 Change-Id: Ic3ef75285aa84f9aa606562cd2f6166de186c1a6
2019-04-03jenkins-slave: Use "jessie-backports" only on jessie systemsHarald Welte1-0/+1
Change-Id: Id62c03b9759367bd5bbe20144e9ad7048d12e61b
2019-03-15build_deps: add libulfius-dev and libjansson-dev for osmo-remsimHarald Welte1-0/+10
Change-Id: I8d490babb4f1f47e94d15c74a8fba439522e1e18
2019-01-31osmocom-jenkins-slave: Deploy osmo-ci and build docker imagesHarald Welte2-0/+23
This is periodically performed by https://jenkins.osmocom.org/jenkins/job/update-osmo-ci-on-slaves but in order to get to the point of updating it, we must at least have done one initial deployment of the repository before. This is done by the takss in the new osmo-ci.yml Closes: OS#3773 Change-Id: I581b8713cfdb3ca2ef7f0925730974056981e448
2019-01-29ansible/install-poky-sdk: Use "-y" command line argumentHarald Welte1-1/+1
At least with current ansible, this patch is required to avoid the poky SDK installer waiting indefinitely to somebody answering his prompts on stdin. Change-Id: I084a5a152f00bbd484f5616d417fa1486cb79413
2019-01-29Add liboping dependency for osmo-sysmonMax1-0/+2
Related: SYS#2655 Change-Id: I6198cd14ff86c5d8203d57674a17aa388f21c19d
2019-01-11ansible: Install 'sdcc' compiler for libusrp firmware on build slavesHarald Welte1-0/+2
Change-Id: I2fa8fa1a195079a0d8beda6a0aa4fc090ca37970
2018-12-28gsm_tester: Add lua-socket dependency used by the scriptsHolger Hans Peter Freyther1-0/+1
Change-Id: Iea51362a592c5b42413cb6d72677d01a0e357555
2018-12-28gsm-tester: Install liblua5.3-dev as mobile dependencyHolger Hans Peter Freyther1-0/+1
Change-Id: I188361cceacde60b9b0b954549d63a34ba81646a
2018-12-13Reserve an ip address for the osmo-bts-virtualHolger Hans Peter Freyther1-0/+6
Change-Id: Ia3b52d6fc66efc032b7de4769ad603da177e13da
2018-11-09ansible: Wrap distro version number as string for ansibleHolger Hans Peter Freyther3-4/+4
Change-Id: I58591ee37c6ec1479778c3f90ed8004a7e2adf1e
2018-11-07ansible: gsm-tester: Support power cycling multiple quad modemsPau Espin Pedrol1-2/+8
uhubctl doesn't support acting on several hubs from same vendor at once. Change-Id: I01e698c96240130ed6f632f82383f6020d2a3b81
2018-11-07ansible: gsm-tester: prod has now 8 modems attachedPau Espin Pedrol1-1/+1
4 EC20 modems were attached, and the issue with only 3 out of the 4 showing up was fixed a while ago. Change-Id: I0e0876fd5581e9eb56c498078ae8cd8c68ede5b5
2018-11-07ansible: gsm-tester: Add IP addr for umtrxPau Espin Pedrol1-0/+5
Change-Id: I7fb65e3c337fc82c787e925fbbdf9eaf7569defd
2018-11-06misc: Install patchelf to add/set an rpath if wantedHolger Hans Peter Freyther1-0/+1
Change-Id: I6e4ad2e3855af7bcefc22d4190cc4e6f58581857
2018-11-02ansible: Skip liblimesuite-dev for debian 8.0Holger Hans Peter Freyther1-1/+10
There is no installable liblimesuite-dev for Debian 8.0 and the playbook execution fails. Install it for Debian 9.0 or later. Change-Id: I0cee652b9d9703dc10b6105711a26f33cc2a3fda
2018-11-02ansible: Future proof for debian releases after debian9.0Holger Hans Peter Freyther3-5/+5
buster has a liblua5.3-dev, openjdk-8-jre-headless and the ttcn3 packages should work as well. Change-Id: I76f516bbe503d15d9210ab14e7d9dd024e0ce72f
2018-10-26ansible: ogt: install udhcpc and iperf3Pau Espin Pedrol1-0/+2
These tools are used during gprs data plane setup and performance testing. Change-Id: I5beddd74fca726c5ea2c9527836a9f50d92b4ce8
2018-10-26ansible: ogt: Add new local IP addr to be available for resourcesPau Espin Pedrol1-3/+8
Change-Id: I32574a935289fa208647d16663b77c0708c0572c
2018-10-26ansible: ogt: Deploy osmo-gsm-tester_netns_exec.shPau Espin Pedrol2-0/+18
Related: OS#2308 Change-Id: I587dd5630b211a906351f064c718f8f4c5fe6273
2018-10-15Add osmo-remsim to gerrit + master build verificationHarald Welte1-0/+1
... which introduces a requirement for libcsv-dev in ansible. Change-Id: I2ac65947ce9ecc071f774dc4df0f08c99c16c632
2018-10-09ansible: Install liblimesuite-dev and setup limesdr rights in gsm-testerPau Espin Pedrol3-0/+12
Change-Id: I7fafae340221cac63e33bccabcce6fd8f4385514
2018-08-30OsmocomBB: Add lua5.3 for the scriping interfaceHolger Hans Peter Freyther1-0/+19
Change-Id: Ia3bd58b98d1e248a92ddd171fb16a23ca8e0b29d
2018-08-27ansible: osmocom_build_deps: Add cmakePau Espin Pedrol1-0/+2
cmake is required to build LimeSuite, and its not currently installed in the build slave. Change-Id: I1808a2394798cd11a0bee8f664c7d18fa71cd5b8
2018-08-27ansible: gsm-tester: Add extra IP for LimeSDRPau Espin Pedrol1-0/+5
Change-Id: Ic0fddfc0eaf884cdd5436139675a5a19fafa96b9
2018-07-26ansible: osmo-gsm-tester-prod: Add DHCP lease for secondary muliTRX nanobtsPau Espin Pedrol1-0/+2
Change-Id: I3967d7b4203f5361dc03074dcd82c870d60c8aac
2018-07-19ansible: add playbook setup-simtestAlexander Couzens2-0/+35
Change-Id: Iab74a2b3fc3148bce815b2dadd1fd683c4b64c44
2018-07-19ansible: osmocom-jenkins-slave: add var install_jenkins_utilitiesAlexander Couzens3-0/+5
To select if some utilities including qemu/debootstrap/fakeroot will be installed. Usefull for small setups e.g. simtester Change-Id: I72f4460b8550da191e74a44be0ee3eeb3b2d7769
2018-07-19ansible: osmocom-jenkins-slave: debian.yml: don't install recommendsAlexander Couzens1-0/+3
Pulls a lot of packages Change-Id: I894455ea779ece84c403f768a1260a1cf2528389
2018-07-19ansible: osmocom-jenkins-slave: move installing build + runtime deps into ↵Alexander Couzens4-85/+93
own file For small nodes (e.g. simtester) the full blown packages are not required nor supported. In this case only the jenkins user and the ssh keys will be setted up. Change-Id: I469a8012b124516bfd9c4d4dd3a3fe0e1ff80bb6
2018-07-19ansible: osmocom-jenkins-slave: add variables to the README.mdAlexander Couzens1-0/+5
Change-Id: I878ed30ee2f44d98635511011c17f0f0e986bcc9
2018-07-03jobs: add master+gerrit verification job for gapkHarald Welte1-0/+3
Change-Id: Iedf3b43c164ae7e3e653820284c4d4ddaa545784
2018-07-02ansible: gsm-tester: Add IP addr for osmo-bts-octphy to bind toPau Espin Pedrol1-0/+4
Change-Id: I708960790e330a24c653f162b767d3b3ca4d145d
2018-07-02ansible: gsm-tester: Assign IP addr in different range to nanobtsPau Espin Pedrol2-3/+3
We currently use range around 10.42.42.1-10 for local dynamically assigned IP addresses (osmo-msc, osmo-bsc, etc.). The range 10.42.42.50-60 for local statically assigned IP addresses (to run osmo-bts-trx sysmocell-5k for instance, where the other end is cofigured with a static dst addr). For remote addresses, we use IPs in the range 10.42.42.110-120. Let's create a new range in 10.42.42.120-130 for remote addressess assigned by udhcpd server. nanobts assigned assdresses are moved to the latest group to differentiate them easily and show that they are not IP addr used locally. Change-Id: I9eadb0329a670ce6c2254520d9c86bfbdc898b3a
2018-06-13ansible: Add various additional packages to osmocom-workstationHarald Welte1-1/+16
Change-Id: I9d22cd6e4d3a3c8c685362bb62cd2a6ef467c461
2018-06-13osmocom-workstatin: change default user to osmocomHarald Welte2-2/+1
Change-Id: I35da5f2276730c7f81d5a1c2e6878ea3e23bca3b