From 419be15bb0fdf981677f3d7a1cbbf992b1e46762 Mon Sep 17 00:00:00 2001 From: nicobo Date: Fri, 20 Nov 2020 22:58:59 +0100 Subject: [PATCH] Fixed : 'content', not 'contents' in slurp module response --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 73c2fea..66abb72 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -153,7 +153,7 @@ - name: Backup Rygel config file (3/3 - saves the temporary backup only if rygel.conf has changed) copy: dest: "{{ rygel_conf }}.{{ 9999 | random }}.{{ '%Y-%m-%d@%H:%M:%S~' | strftime }}" - content: "{{ rygel_conf_backup['contents'] | b64decode }}" + content: "{{ rygel_conf_backup.content | b64decode }}" when: rygel_conf.changed # TODO Allow preventing Rygel from exporting all media by default