Trying some literate programming for this playbook

This commit is contained in:
Alexander Grothe
2017-02-20 14:29:15 +01:00
parent 93e70d2f51
commit efac4618fa
4 changed files with 215 additions and 25 deletions

View File

@@ -1,10 +1,6 @@
---
# this playbook sets up a minimum yaVDR installation
#
# You can customize the following variables:
# repositories.sources: a list of package repositories to use
# vdr: a dictionary with several customization options for the vdr-configuration.
# See defaults/main.yml for a complete reference
# This playbook sets up the basic packages an directories for a yaVDR installation
- name: apt| prevent installation of recommended packages
blockinfile:
@@ -22,7 +18,7 @@
repo: '{{ item }}'
state: present
update_cache: yes
with_items: '{{ repositories.sources }}'
with_items: '{{ repositories }}'
- name: upgrade existing packages
apt:
@@ -47,14 +43,10 @@
- vdr
- vdr-plugin-dbus2vdr
- vdrctl
- vim
- w-scan
- wget
- wpasupplicant
- usbutils
- xfsprogs
#- yavdr-firmware
- name: create vdr recdir
file: