Remove 'ansible.builtin' from modules.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Copy everything from PROJECT/files/scripts/ to /usr/local/bin/.
|
||||
|
||||
- name: General | Scripts | Install | Ensure Directory Exists
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: '{{ global_bin }}'
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
@@ -71,14 +71,14 @@
|
||||
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Symlink GUI
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
src: "/opt/Mullvad VPN/mullvad-vpn"
|
||||
dest: "{{ global_bin }}/mullvad-vpn"
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Enable (runit)
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
src: "/{{ runit_script_dir }}/mullvad-daemon"
|
||||
dest: "/{{ runit_service_dir }}/mullvad"
|
||||
state: link
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
user_templates: "{{ user_user.home }}/Templates"
|
||||
|
||||
- name: Workstation | Settings | Templates | Ensure Directory Exists
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: "{{ user_templates }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
@@ -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