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