Update some descriptions, rearrange order of tasks

This commit is contained in:
Alexander Grothe
2017-07-15 14:28:23 +02:00
parent a27014f076
commit 15dd3f24f8
10 changed files with 160 additions and 141 deletions

View File

@@ -1,19 +1,26 @@
---
# This role is used to set up the yaVDR remote control configuration.
- name: install yavdr-remote
- name: apt | install yavdr-remote
apt:
name: yavdr-remote
state: present
- name: install lirc
- name: apt | install eventlircd
apt:
name: eventlircd
state: present
when:
install_eventlircd is defined and install_eventlircd
- name: apt | install lirc
apt:
name: lircd
state: present
when:
- install_lircd is defined and install_lircd
- name: disable lircd.socket and lircd.service (conflict with eventlircd with default configuration)
- name: stop, mask and disable lircd.socket and lircd.service # (the default lirc configuration conflicts with eventlircd)
systemd:
name: '{{ item }}'
enabled: no
@@ -24,14 +31,6 @@
- lircd.socket
ignore_errors: yes
- name: install eventlircd
apt:
name: eventlircd
state: present
when:
install_eventlircd is defined and install_eventlircd
# TODO: upload lircd2uinput package to PPA
#- name: install lircd2uinput
# tag: install