瀏覽代碼

backgrund image path

basename
 fix redundancy
master
父節點
當前提交
f248b722f7
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      tasks/main.yml
  2. +1
    -1
      vars/main.yml

+ 1
- 1
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:


+ 1
- 1
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}}

Loading…
取消
儲存