more formatting corrections, add yavdr-remote role
This commit is contained in:
parent
ddf59c34f1
commit
b374fe4ead
53
Manual.org
53
Manual.org
@ -134,7 +134,7 @@ ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local
|
|||||||
* Playbooks
|
* Playbooks
|
||||||
** yavdr07.yml
|
** yavdr07.yml
|
||||||
The ~yavdr07.yml~ playbook sets up a fully-featured yaVDR installation:
|
The ~yavdr07.yml~ playbook sets up a fully-featured yaVDR installation:
|
||||||
#+BEGIN_SRC yaml :tangle yavdr07.yml :mkdirp yes
|
#+BEGIN_SRC yaml :tangle yavdr07.yml :mkdirp yes :padline no
|
||||||
---
|
---
|
||||||
# file: yavdr07.yml
|
# file: yavdr07.yml
|
||||||
# this playbook sets up a complete yaVDR 0.7 installation
|
# this playbook sets up a complete yaVDR 0.7 installation
|
||||||
@ -204,15 +204,15 @@ ansible_managed_file: "*** YAVDR: ANSIBLE MANAGED FILE ***"
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
** PPAs
|
** PPAs
|
||||||
#+BEGIN_SRC yaml :tangle group_vars/all :mkdirp yes
|
#+BEGIN_SRC yaml :tangle group_vars/all :mkdirp yes
|
||||||
branch: unstable
|
branch: unstable
|
||||||
ppa_owner: 'ppa:yavdr'
|
ppa_owner: 'ppa:yavdr'
|
||||||
# a list of all package repositories to be added to the installation
|
# a list of all package repositories to be added to the installation
|
||||||
repositories:
|
repositories:
|
||||||
- '{{ ppa_owner }}/main'
|
- '{{ ppa_owner }}/main'
|
||||||
- '{{ ppa_owner }}/unstable-main'
|
- '{{ ppa_owner }}/unstable-main'
|
||||||
- '{{ ppa_owner }}/{{branch}}-vdr'
|
- '{{ ppa_owner }}/{{branch}}-vdr'
|
||||||
- '{{ ppa_owner }}/{{branch}}-yavdr'
|
- '{{ ppa_owner }}/{{branch}}-yavdr'
|
||||||
- '{{ ppa_owner }}/{{branch}}-kodi'
|
- '{{ ppa_owner }}/{{branch}}-kodi'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** VDR user, directories, special configuration and plugins
|
** VDR user, directories, special configuration and plugins
|
||||||
#+BEGIN_SRC yaml :tangle group_vars/all :mkdirp yes
|
#+BEGIN_SRC yaml :tangle group_vars/all :mkdirp yes
|
||||||
@ -644,6 +644,38 @@ install_avahi: true
|
|||||||
** TODO yavdr-remote
|
** TODO yavdr-remote
|
||||||
*** default variables
|
*** default variables
|
||||||
*** tasks
|
*** tasks
|
||||||
|
#+BEGIN_SRC yaml :tangle roles/yavdr-remote/tasks/main.yml :mkdirp yes
|
||||||
|
---
|
||||||
|
# This role is used to set up the yaVDR remote control configuration.
|
||||||
|
|
||||||
|
- name: install yavdr-remote
|
||||||
|
apt:
|
||||||
|
name: yavdr-remote
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: install lirc
|
||||||
|
apt:
|
||||||
|
name: lircd
|
||||||
|
state: present
|
||||||
|
when:
|
||||||
|
- install_lircd is defined and install_lircd
|
||||||
|
|
||||||
|
- 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
|
||||||
|
# apt:
|
||||||
|
# name: lircd2uinput
|
||||||
|
# state: present
|
||||||
|
# when:
|
||||||
|
# install_eventlircd is defined and install_eventlircd
|
||||||
|
#+END_SRC
|
||||||
*** templates
|
*** templates
|
||||||
*** files
|
*** files
|
||||||
|
|
||||||
@ -1196,6 +1228,7 @@ b'\xde\xad\xbe\xef'
|
|||||||
state: started
|
state: started
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** templates
|
*** templates
|
||||||
|
**** xorg
|
||||||
#+BEGIN_SRC conf :tangle "roles/yavdr-xorg/templates/x-verbose@.service.j2"
|
#+BEGIN_SRC conf :tangle "roles/yavdr-xorg/templates/x-verbose@.service.j2"
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=X with verbose logging on %I
|
Description=X with verbose logging on %I
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
# file: yavdr07-headless.yml
|
# file: yavdr07-headless.yml
|
||||||
# this playbook set up a headless yaVDR 0.7 installation
|
# this playbook set up a headless yaVDR 0.7 installation
|
||||||
|
Loading…
Reference in New Issue
Block a user