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:
|
apt:
|
||||||
name: lirc-drv-irman
|
name: lirc-drv-irman
|
||||||
state: present
|
state: present
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
- name: write lirc configuration
|
- name: write lirc configuration
|
||||||
template:
|
template:
|
||||||
src: templates/lirc_options.conf.j2
|
src: templates/lirc_options.conf.j2
|
||||||
dest: /etc/lirc/lirc_options.conf
|
dest: /etc/lirc/lirc_options.conf
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- systemd
|
||||||
|
|
||||||
- name: enable lircd
|
- name: enable lircd, eventlircd, lircd2uinput
|
||||||
systemd:
|
systemd:
|
||||||
name: lircd.service
|
name: '{{ item }}'
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
masked: no
|
masked: no
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
with_items:
|
||||||
|
- eventlircd.service
|
||||||
|
- eventlircd.soclet
|
||||||
|
- lircd2uinput.service
|
||||||
|
- lircd.service
|
||||||
|
tags:
|
||||||
|
- systemd
|
||||||
|
|
||||||
when: '"04d8:f844" in usb'
|
when: '"04d8:f844" in usb'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -7,18 +7,30 @@
|
|||||||
apt:
|
apt:
|
||||||
name: lirc-drv-irman
|
name: lirc-drv-irman
|
||||||
state: present
|
state: present
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
- name: write lirc configuration
|
- name: write lirc configuration
|
||||||
template:
|
template:
|
||||||
src: templates/lirc_options.conf.j2
|
src: templates/lirc_options.conf.j2
|
||||||
dest: /etc/lirc/lirc_options.conf
|
dest: /etc/lirc/lirc_options.conf
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- systemd
|
||||||
|
|
||||||
- name: enable lircd
|
- name: enable lircd, eventlircd, lircd2uinput
|
||||||
systemd:
|
systemd:
|
||||||
name: lircd.service
|
name: '{{ item }}'
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
masked: no
|
masked: no
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
with_items:
|
||||||
|
- eventlircd.service
|
||||||
|
- eventlircd.soclet
|
||||||
|
- lircd2uinput.service
|
||||||
|
- lircd.service
|
||||||
|
tags:
|
||||||
|
- systemd
|
||||||
|
|
||||||
when: '"04d8:f844" in usb'
|
when: '"04d8:f844" in usb'
|
||||||
|
Loading…
Reference in New Issue
Block a user