Migrate blockinfile to FQCN.

This commit is contained in:
me
2026-10-02 11:20:03 -07:00
parent 688ee6cb1c
commit 547112c4a1
17 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
state: present
- name: Workstation | FreeBSD | Software | GUI | Create rc.conf Entries
blockinfile:
ansible.builtin.blockinfile:
path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | GNOME Components"
block: |
@@ -29,7 +29,7 @@
backup: true
- name: Workstation | FreeBSD | Software | GUI | Create fstab Entries
blockinfile:
ansible.builtin.blockinfile:
path: /etc/fstab
block: |
proc /proc procfs rw 0 0
+1 -1
View File
@@ -8,7 +8,7 @@
state: present
- name: Workstation | FreeBSD | Software | GPU Driver | Create rc.conf Entries
blockinfile:
ansible.builtin.blockinfile:
path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | GPU Components"
block: |
+2 -2
View File
@@ -377,7 +377,7 @@
## Configure Environment ##
- name: Workstation | Linux | Software | Android | Modify PATH (.bashrc)
blockinfile:
ansible.builtin.blockinfile:
path: "{{ item }}/.bashrc"
block: |
export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}"
@@ -394,7 +394,7 @@
and user_user.home != ""
- name: Workstation | Linux | Software | Android | Modify PATH (.zshrc)
blockinfile:
ansible.builtin.blockinfile:
path: "{{ item }}/.zshrc"
block: |
export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}"
@@ -103,7 +103,7 @@
loop: "{{ flatpaks_generic }}"
- name: Workstation | Linux | Flatpak Distro | Flatpak | Generic | Executables
blockinfile:
ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -135,7 +135,7 @@
when: coding
- name: Workstation | Linux | Flatpak Distro | Flatpak | Coding | Executables
blockinfile:
ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -184,7 +184,7 @@
when: editing in (true, "video")
- name: Workstation | Linux | Flatpak Distro | Flatpak | Video Editors | Executables
blockinfile:
ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -231,7 +231,7 @@
when: editing in (true, "audio")
- name: Workstation | Linux | Flatpak Distro | Flatpak | Audio/Video Editors | Executables
blockinfile:
ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -280,7 +280,7 @@
when: gaming
- name: Workstation | Linux | Flatpak Distro | Flatpak | Gaming | Executables
blockinfile:
ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
+2 -2
View File
@@ -129,7 +129,7 @@
## Configure Environment ##
- name: Workstation | Linux | Software | Flutter | Modify PATH (.bashrc)
blockinfile:
ansible.builtin.blockinfile:
path: "{{ item }}/.bashrc"
block: |
export PATH="$PATH:{{ flutter_bin_location }}"
@@ -146,7 +146,7 @@
and user_user.home != ""
- name: Workstation | Linux | Software | Flutter | Modify PATH (.zshrc)
blockinfile:
ansible.builtin.blockinfile:
path: "{{ item }}/.zshrc"
block: |
export PATH="$PATH:{{ flutter_bin_location }}"
+1 -1
View File
@@ -136,7 +136,7 @@
when: ansible_service_mgr == "runit"
- name: Workstation | Linux | Software | TLP | runit | Functions & Aliases
blockinfile:
ansible.builtin.blockinfile:
path: "{{ item }}"
block: |
function tlp-devices {
@@ -70,7 +70,7 @@
# Apply dconf settings through RC files due to distros without working psutil.
# Use the command 'dconf watch /' then change settings to see find these values.
- name: Workstation | Account Management | Cinnamon | Settings
blockinfile:
ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}"
block: |
# Disable Cinnamon Settings While Converting From GNOME
+2 -2
View File
@@ -176,7 +176,7 @@
# Apply dconf settings through RC files due to distros without working psutil.
# Use the command 'dconf watch /' then change settings to see find these values.
- name: Workstation | Account Management | GNOME | Settings
blockinfile:
ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}"
block: |
## Temporary Variables + Functions ##
@@ -440,7 +440,7 @@
# Remove the dconf settings which had the marker related to NixOS.
- name: Workstation | Account Management | GNOME | Settings (NixOS)
blockinfile:
ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}"
block: |
# TBD: No longer used. Remove in 2027.
+1 -1
View File
@@ -21,7 +21,7 @@
# https://www.unixmen.com/setup-nfs-server-on-freebsd/
- name: Workstation | Settings | NFS | Install (FreeBSD)
blockinfile:
ansible.builtin.blockinfile:
path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | NFS Components"
block: |
+1 -1
View File
@@ -8,7 +8,7 @@
when: ansible_system == "FreeBSD"
- name: Workstation | Settings | RDP | FreeBSD | Enable
blockinfile:
ansible.builtin.blockinfile:
path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | RDP Components"
block: |