de.lehmann.automation.ansib.../playbooks/setup-google-coral.yml

28 lines
856 B
YAML

- hosts: "leh01"
become: true
vars:
tasks:
# UDEV rules to allow access to Coral USB from LXC als Service einrichten
- name: "Systemd service for UDEV rules to allow access to Coral USB from LXC -> Create configuration"
tags: always
template:
src: "../templates/coral-usb/coralusb-udev-rule.service.j2"
dest: /etc/systemd/system/coralusb-udev-rule.service
owner: root
group: root
mode: '0644'
- name: Systemd Service for UDEV rules -> init (coralusb-udev-rule.service)
tags: always
systemd:
daemon_reload: yes
enabled: yes
state: restarted
name: coralusb-udev-rule
- name: Systemd service for UDEV rules -> restart
tags: always
systemd:
daemon_reload: yes
state: restarted
name: coralusb-udev-rule