diff options
Diffstat (limited to 'roles/streaming/dolmetsch-raspi/tasks')
-rw-r--r-- | roles/streaming/dolmetsch-raspi/tasks/main.yml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/roles/streaming/dolmetsch-raspi/tasks/main.yml b/roles/streaming/dolmetsch-raspi/tasks/main.yml index 10d55766..2240d211 100644 --- a/roles/streaming/dolmetsch-raspi/tasks/main.yml +++ b/roles/streaming/dolmetsch-raspi/tasks/main.yml @@ -2,14 +2,14 @@ - name: install packages apt: name: - - gstreamer1.0-tools - - gstreamer1.0-plugins-base - - gstreamer1.0-plugins-good - - gstreamer1.0-plugins-bad - - gstreamer1.0-alsa - - git - - libasound2-dev - - telnet + - gstreamer1.0-tools + - gstreamer1.0-plugins-base + - gstreamer1.0-plugins-good + - gstreamer1.0-plugins-bad + - gstreamer1.0-alsa + - git + - libasound2-dev + - telnet - name: download golang tarball get_url: @@ -27,16 +27,16 @@ - name: update golang installation when: golang_version is failed or golang_version.stdout != ("go version go" + dolmetsch_raspi_golang_version + " linux/arm") block: - - name: remove old golang installation - file: - path: /usr/local/go - state: absent + - name: remove old golang installation + file: + path: /usr/local/go + state: absent - - name: extract the golang tarball - unarchive: - src: "/usr/local/src/go{{ dolmetsch_raspi_golang_version }}.linux-armv6l.tar.gz" - dest: /usr/local - copy: no + - name: extract the golang tarball + unarchive: + src: "/usr/local/src/go{{ dolmetsch_raspi_golang_version }}.linux-armv6l.tar.gz" + dest: /usr/local + copy: no - name: prepare dolmetschctl install path file: @@ -45,8 +45,8 @@ - name: build dolmetschctl (server and client) loop: - - dolmetschctl - - dolmetschctld + - dolmetschctl + - dolmetschctld command: "/usr/local/go/bin/go get spreadspace.org/dolmetschctl/cmd/{{ item }}" args: creates: "/opt/dolmetschctl/bin/{{ item }}" @@ -55,8 +55,8 @@ - name: install dolmetschctl systemd units loop: - - dolmetschctl - - dolmetschctld + - dolmetschctl + - dolmetschctld template: src: "{{ item }}.service.j2" dest: "/etc/systemd/system/{{ item }}.service" @@ -64,8 +64,8 @@ - name: install rtp send/receive scripts loop: - - rtp-recv - - rtp-send + - rtp-recv + - rtp-send template: src: "{{ item }}.sh.j2" dest: "/usr/local/bin/{{ item }}.sh" @@ -73,8 +73,8 @@ - name: install rtp send/receive systemd units loop: - - rtp-recv - - rtp-send + - rtp-recv + - rtp-send template: src: "{{ item }}.service.j2" dest: "/etc/systemd/system/{{ item }}.service" |