17 lines
540 B
YAML
17 lines
540 B
YAML
---
|
|
- name: Copy irserver
|
|
copy: src=irserver dest=/usr/bin/irserver mode=u+rx
|
|
- 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/
|
|
- 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
|