Remove 'ansible.builtin' from modules.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Copy everything from PROJECT/files/scripts/ to /usr/local/bin/.
|
# Copy everything from PROJECT/files/scripts/ to /usr/local/bin/.
|
||||||
|
|
||||||
- name: General | Scripts | Install | Ensure Directory Exists
|
- name: General | Scripts | Install | Ensure Directory Exists
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: '{{ global_bin }}'
|
path: '{{ global_bin }}'
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|||||||
@@ -71,14 +71,14 @@
|
|||||||
|
|
||||||
|
|
||||||
- name: Workstation | Software | VPN | Mullvad | Symlink GUI
|
- name: Workstation | Software | VPN | Mullvad | Symlink GUI
|
||||||
ansible.builtin.file:
|
file:
|
||||||
src: "/opt/Mullvad VPN/mullvad-vpn"
|
src: "/opt/Mullvad VPN/mullvad-vpn"
|
||||||
dest: "{{ global_bin }}/mullvad-vpn"
|
dest: "{{ global_bin }}/mullvad-vpn"
|
||||||
state: link
|
state: link
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
- name: Workstation | Software | VPN | Mullvad | Enable (runit)
|
- name: Workstation | Software | VPN | Mullvad | Enable (runit)
|
||||||
ansible.builtin.file:
|
file:
|
||||||
src: "/{{ runit_script_dir }}/mullvad-daemon"
|
src: "/{{ runit_script_dir }}/mullvad-daemon"
|
||||||
dest: "/{{ runit_service_dir }}/mullvad"
|
dest: "/{{ runit_service_dir }}/mullvad"
|
||||||
state: link
|
state: link
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
user_templates: "{{ user_user.home }}/Templates"
|
user_templates: "{{ user_user.home }}/Templates"
|
||||||
|
|
||||||
- name: Workstation | Settings | Templates | Ensure Directory Exists
|
- name: Workstation | Settings | Templates | Ensure Directory Exists
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: "{{ user_templates }}"
|
path: "{{ user_templates }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Workstation | Shared | Software | i3 | Config | Create Dir
|
- name: Workstation | Shared | Software | i3 | Config | Create Dir
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: "{{ i3_config_dir }}"
|
path: "{{ i3_config_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Workstation | Shared | Software | i3 | Light | Check Backlights
|
- name: Workstation | Shared | Software | i3 | Light | Check Backlights
|
||||||
ansible.builtin.find:
|
find:
|
||||||
paths: /sys/class/backlight
|
paths: /sys/class/backlight
|
||||||
file_type: any # Options: file, directory, any
|
file_type: any # Options: file, directory, any
|
||||||
patterns: "*" # Wildcard patterns (e.g., "*.log")
|
patterns: "*" # Wildcard patterns (e.g., "*.log")
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
#- name: Display var _ DELETEME
|
#- name: Display var _ DELETEME
|
||||||
# ansible.builtin.debug:
|
# debug:
|
||||||
# msg: "{{ i3_light_device_check }}"
|
# msg: "{{ i3_light_device_check }}"
|
||||||
|
|
||||||
- name: Workstation | Shared | Software | i3 | Light | Pull Backlight Name
|
- name: Workstation | Shared | Software | i3 | Light | Pull Backlight Name
|
||||||
@@ -126,11 +126,11 @@
|
|||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
#- name: Display var - DELETEME
|
#- name: Display var - DELETEME
|
||||||
# ansible.builtin.debug:
|
# debug:
|
||||||
# msg: "{{ i3_light_device_name }}"
|
# msg: "{{ i3_light_device_name }}"
|
||||||
|
|
||||||
- name: Workstation | Shared | Software | i3 | Light | udev Rules | Create
|
- name: Workstation | Shared | Software | i3 | Light | udev Rules | Create
|
||||||
ansible.builtin.copy:
|
copy:
|
||||||
dest: /etc/udev/rules.d/backlight.rules
|
dest: /etc/udev/rules.d/backlight.rules
|
||||||
content: |
|
content: |
|
||||||
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="{{ i3_light_device_name }}", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
|
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