summaryrefslogtreecommitdiff
path: root/roles/elevate/dolmetsch-raspi/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-24 23:33:03 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-24 23:33:03 +0100
commit02ec06495725fc351011831bc28117487db05ccd (patch)
treeecbebad4d7e92464c85c212942a132490701c623 /roles/elevate/dolmetsch-raspi/tasks
parentadded sytemd units for forlmetschctl(d) (diff)
added dolmetsch rtp send/receive scripts
Diffstat (limited to 'roles/elevate/dolmetsch-raspi/tasks')
-rw-r--r--roles/elevate/dolmetsch-raspi/tasks/main.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/elevate/dolmetsch-raspi/tasks/main.yml b/roles/elevate/dolmetsch-raspi/tasks/main.yml
index c98b0ff4..e0e1083c 100644
--- a/roles/elevate/dolmetsch-raspi/tasks/main.yml
+++ b/roles/elevate/dolmetsch-raspi/tasks/main.yml
@@ -61,3 +61,21 @@
src: "{{ item }}.service.j2"
dest: "/etc/systemd/system/{{ item }}.service"
notify: reload systemd
+
+- name: install rtp send/receive scripts
+ with_items:
+ - rtp-recv
+ - rtp-send
+ template:
+ src: "{{ item }}.sh.j2"
+ dest: "/usr/local/bin/{{ item }}.sh"
+ mode: 0750
+
+- name: install rtp send/receive systemd units
+ with_items:
+ - rtp-recv
+ - rtp-send
+ template:
+ src: "{{ item }}.service.j2"
+ dest: "/etc/systemd/system/{{ item }}.service"
+ notify: reload systemd