Browse Source

backgrund image path

basename
 fix redundancy
master
parent
commit
f248b722f7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tasks/main.yml
  2. +1
    -1
      vars/main.yml

+ 1
- 1
tasks/main.yml View File

@@ -60,7 +60,7 @@
- name: background image - name: background image
copy: copy:
src: "{{display_manager_background_image}}" src: "{{display_manager_background_image}}"
dest: "/usr/share/lightdm/background/{{display_manager_background_image}}"
dest: "{{ display_manager_background_image_path }}"


- name: lightdm started - name: lightdm started
service: service:


+ 1
- 1
vars/main.yml View File

@@ -2,4 +2,4 @@ _display_manager_valid_states:
- multiuser - multiuser
- maintenance - 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}}

Loading…
Cancel
Save