ansible/roles/pi-irserver/tasks/main.yml

17 lines
540 B
YAML
Raw Permalink Normal View History

2020-05-16 18:35:44 +02:00
---
- name: Copy irserver
copy: src=irserver dest=/usr/bin/irserver mode=u+rx
2021-07-20 15:35:12 +02:00
- name: Make config dir for remotes
file: path=/usr/bin/remotes state=directory
- name: Copy hauppauge remote
copy: src=hauppauge.rem dest=/usr/bin/remotes/
2020-05-16 18:35:44 +02:00
- name: Copy irserver systemd file
copy: src=irserver.service dest=/lib/systemd/system/
- name: Enable irserver autostart
systemd: name=irserver state=restarted enabled=yes daemon_reload=yes
- name: Add irserver to sysdweb
include_role:
name: pi-sysdweb
vars:
sysdweb_name: irserver