From f248b722f73bfd7d088d95285c624814b626dc29 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 21 Sep 2018 12:46:22 +0000 Subject: [PATCH] backgrund image path basename fix redundancy --- tasks/main.yml | 2 +- vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index b3313cd..e5b2fd8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -60,7 +60,7 @@ - name: background image copy: src: "{{display_manager_background_image}}" - dest: "/usr/share/lightdm/background/{{display_manager_background_image}}" + dest: "{{ display_manager_background_image_path }}" - name: lightdm started service: diff --git a/vars/main.yml b/vars/main.yml index efa5f9c..4278fbb 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -2,4 +2,4 @@ _display_manager_valid_states: - multiuser - maintenance -display_manager_background_image_path: /usr/share/lightdm/background/{{display_manager_background_image}} +display_manager_background_image_path: /usr/share/lightdm/background/{{display_manager_background_image|basename}}