i3, allow the backlight checks to fail (such as VMs).

This commit is contained in:
2026-08-04 10:47:43 -07:00
parent 24c5a2973f
commit 3c6c7de5e1
+3
View File
@@ -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 }}"