ttcn3-slave.yml: don't hard-code amd64 as the dpkg architecture

We have no clue what the host architecture will be...

Change-Id: I32c0905c8e077faa02984ea67c452fcdb81440da
This commit is contained in:
Harald Welte 2020-10-09 09:50:38 +02:00
parent 57a38c7daf
commit 3d3a9c1651
1 changed files with 6 additions and 2 deletions

View File

@ -30,10 +30,14 @@
update_cache: yes
cache_valid_time: 3600
- name: Get DEB architecture
shell: dpkg --print-architecture
register: deb_architecture
- name: Install libfftranscode0
apt:
deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.1_amd64.deb
deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.1_{{deb_architecture.stdout}}.deb
- name: Install libfftranscode-dev
apt:
deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.1_amd64.deb
deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.1_{{deb_architecture.stdout}}.deb