File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
deploy/roles/initialize/tasks/hardware Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 3838 file :
3939 path : /etc/profile.d/set_keyboard_backlight.sh
4040 mode : ' 0755'
41-
4241 when :
4342 - not script_exists.stat.exists
44- - backlight_path.stdout == ""
43+ - not backlight_path.stdout == ""
4544
4645- name : " {{ item | basename | splitext | first }} - Final block excution"
4746 block :
5049 path : /etc/profile.d/set_keyboard_backlight.sh
5150 register : script_exists
5251
53- - name : " {{ item | basename | splitext | first }} - Find the keyboard backlight directory"
54- command : find /sys/class/leds/ -name '*kbd_backlight'
55- register : backlight_path
56-
5752 - name : " {{ item | basename | splitext | first }} - Execute the keyboard backlight script"
5853 shell : /etc/profile.d/set_keyboard_backlight.sh
5954 when :
6055 - script_exists.stat.exists
61- - not backlight_path.stdout == ""
You can’t perform that action at this time.
0 commit comments