configure systemd properties for all needed service- and socket-Units
also add more tags to the role
This commit is contained in:
parent
9f42da23f6
commit
3006830cc1
1108
Manual.html
1108
Manual.html
File diff suppressed because it is too large
Load Diff
16
Manual.org
16
Manual.org
@ -3558,19 +3558,31 @@ dependencies:
|
||||
apt:
|
||||
name: lirc-drv-irman
|
||||
state: present
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: write lirc configuration
|
||||
template:
|
||||
src: templates/lirc_options.conf.j2
|
||||
dest: /etc/lirc/lirc_options.conf
|
||||
tags:
|
||||
- config
|
||||
- systemd
|
||||
|
||||
- name: enable lircd
|
||||
- name: enable lircd, eventlircd, lircd2uinput
|
||||
systemd:
|
||||
name: lircd.service
|
||||
name: '{{ item }}'
|
||||
enabled: yes
|
||||
state: started
|
||||
masked: no
|
||||
daemon_reload: yes
|
||||
with_items:
|
||||
- eventlircd.service
|
||||
- eventlircd.soclet
|
||||
- lircd2uinput.service
|
||||
- lircd.service
|
||||
tags:
|
||||
- systemd
|
||||
|
||||
when: '"04d8:f844" in usb'
|
||||
#+END_SRC
|
||||
|
@ -7,18 +7,30 @@
|
||||
apt:
|
||||
name: lirc-drv-irman
|
||||
state: present
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: write lirc configuration
|
||||
template:
|
||||
src: templates/lirc_options.conf.j2
|
||||
dest: /etc/lirc/lirc_options.conf
|
||||
tags:
|
||||
- config
|
||||
- systemd
|
||||
|
||||
- name: enable lircd
|
||||
- name: enable lircd, eventlircd, lircd2uinput
|
||||
systemd:
|
||||
name: lircd.service
|
||||
name: '{{ item }}'
|
||||
enabled: yes
|
||||
state: started
|
||||
masked: no
|
||||
daemon_reload: yes
|
||||
with_items:
|
||||
- eventlircd.service
|
||||
- eventlircd.soclet
|
||||
- lircd2uinput.service
|
||||
- lircd.service
|
||||
tags:
|
||||
- systemd
|
||||
|
||||
when: '"04d8:f844" in usb'
|
||||
|
Loading…
Reference in New Issue
Block a user