yavdr-ansible/roles/autoinstall-imonlcd/tasks/main.yml
2017-03-02 16:01:52 +01:00

10 lines
252 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 ansible_local.hardware.usb'
- '"15c2:ffdc" in ansible_local.hardware.usb'