yavdr-ansible/roles/autoinstall-imonlcd/tasks/main.yml

11 lines
234 B
YAML

---
# file roles/autoinstall-imonlcd/tasks/main.yml
- name: apt | install vdr-plugin-imonlcd if connected
apt:
name: vdr-plugin-imonlcd
when:
- '"15c2:0038" in usb'
- '"15c2:ffdc" in usb'
notify: [ 'Restart VDR' ]