From 0e00ea74694508dd91743939d94d950ff1b741a9 Mon Sep 17 00:00:00 2001 From: seahawk1986 Date: Fri, 13 Jul 2018 09:53:39 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ed5d3e..961d200 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ansible playbooks for yaVDR ## Usage: -On a Ubuntu Server 18.04.x (or minimal) Installation run the following commands: +On a Ubuntu Server 18.04.x (the alternative server installer should be preferred: https://www.ubuntu.com/download/alternative-downloads#alternate-ubuntu-server-installer) (or a minimal) Installation run the following commands: ``` sudo apt-get install git git clone https://github.com/yavdr/yavdr-ansible From 281e73cab4f54414fd8f44d41189560aa1ec5bcc Mon Sep 17 00:00:00 2001 From: seahawk1986 Date: Mon, 23 Jul 2018 13:43:59 +0200 Subject: [PATCH 2/3] mark template as managed by ansible --- roles/yavdr-remote/templates/rc_maps.cfg.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/yavdr-remote/templates/rc_maps.cfg.j2 b/roles/yavdr-remote/templates/rc_maps.cfg.j2 index 11cb8d8..be1e92d 100644 --- a/roles/yavdr-remote/templates/rc_maps.cfg.j2 +++ b/roles/yavdr-remote/templates/rc_maps.cfg.j2 @@ -1,3 +1,4 @@ +{{ ansible_managed | comment }} # # Keymaps table # From 46de4a1b80aac83940a9e082fcb0afa91144484d Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Thu, 2 Aug 2018 10:03:35 +0200 Subject: [PATCH 3/3] Don't install vdr-plugin-restfulapi by default It crashes if the channel list is empty --- Manual.org | 1 - group_vars/all | 1 - roles/grub-config/handlers/main.yml | 5 +++++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Manual.org b/Manual.org index 63bebe9..46cb01d 100644 --- a/Manual.org +++ b/Manual.org @@ -270,7 +270,6 @@ vdr: vdr_plugins: - vdr-plugin-devstatus - vdr-plugin-markad - - vdr-plugin-restfulapi - vdr-plugin-softhddevice-vpp #+END_SRC ** Media directories diff --git a/group_vars/all b/group_vars/all index e5620d9..5b87327 100644 --- a/group_vars/all +++ b/group_vars/all @@ -27,7 +27,6 @@ vdr: vdr_plugins: - vdr-plugin-devstatus - vdr-plugin-markad - - vdr-plugin-restfulapi - vdr-plugin-softhddevice-vpp # dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled media_dirs: diff --git a/roles/grub-config/handlers/main.yml b/roles/grub-config/handlers/main.yml index b6d741c..21185fc 100644 --- a/roles/grub-config/handlers/main.yml +++ b/roles/grub-config/handlers/main.yml @@ -1,5 +1,10 @@ --- +- name: Update Initramfs + command: "update-initramfs -u" + failed_when: ('error' in initramfs_register_update.stderr) + register: initramfs_register_update + - name: Update GRUB command: update-grub failed_when: ('error' in grub_register_update.stderr)