i3, allow the backlight checks to fail (such as VMs).
This commit is contained in:
@@ -111,6 +111,7 @@
|
||||
patterns: "*" # Wildcard patterns (e.g., "*.log")
|
||||
recurse: no # Set to 'yes' for subdirectories
|
||||
register: i3_light_device_check
|
||||
ignore_errors: yes
|
||||
|
||||
#- name: Display var _ DELETEME
|
||||
# ansible.builtin.debug:
|
||||
@@ -119,6 +120,7 @@
|
||||
- name: Workstation | Linux | Software | i3 | Light | Pull Backlight Name
|
||||
set_fact:
|
||||
i3_light_device_name: "{{ i3_light_device_check.files[0].path | basename }}"
|
||||
ignore_errors: yes
|
||||
|
||||
#- name: Display var - DELETEME
|
||||
# ansible.builtin.debug:
|
||||
@@ -133,6 +135,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | i3 | Light | udev Rules | Reload
|
||||
command: "{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user