Remove 'ansible.builtin' from modules.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
ignore_errors: true
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Config | Create Dir
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: "{{ i3_config_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
@@ -108,7 +108,7 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Light | Check Backlights
|
||||
ansible.builtin.find:
|
||||
find:
|
||||
paths: /sys/class/backlight
|
||||
file_type: any # Options: file, directory, any
|
||||
patterns: "*" # Wildcard patterns (e.g., "*.log")
|
||||
@@ -117,7 +117,7 @@
|
||||
ignore_errors: yes
|
||||
|
||||
#- name: Display var _ DELETEME
|
||||
# ansible.builtin.debug:
|
||||
# debug:
|
||||
# msg: "{{ i3_light_device_check }}"
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Light | Pull Backlight Name
|
||||
@@ -126,11 +126,11 @@
|
||||
ignore_errors: yes
|
||||
|
||||
#- name: Display var - DELETEME
|
||||
# ansible.builtin.debug:
|
||||
# debug:
|
||||
# msg: "{{ i3_light_device_name }}"
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Light | udev Rules | Create
|
||||
ansible.builtin.copy:
|
||||
copy:
|
||||
dest: /etc/udev/rules.d/backlight.rules
|
||||
content: |
|
||||
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="{{ i3_light_device_name }}", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
|
||||
|
||||
Reference in New Issue
Block a user