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
+4 -4
View File
@@ -23,7 +23,7 @@
## General ## ## General ##
- name: General | Account Management | Provisioning Configuration | General | Create - name: General | Account Management | Provisioning Configuration | General | Create
blockinfile: ansible.builtin.blockinfile:
path: "{{ gen_file }}" path: "{{ gen_file }}"
block: | block: |
; Please note that all portions require lowercase keys and values. ; Please note that all portions require lowercase keys and values.
@@ -210,7 +210,7 @@
## Workstation ## ## Workstation ##
- name: General | Account Management | Provisioning Configuration | Workstation | Create - name: General | Account Management | Provisioning Configuration | Workstation | Create
blockinfile: ansible.builtin.blockinfile:
path: "{{ wrk_file }}" path: "{{ wrk_file }}"
block: | block: |
;;;;;;; Available options - all require lowercase values ;;;;;; ;;;;;;; Available options - all require lowercase values ;;;;;;
@@ -286,7 +286,7 @@
### Miner ## ### Miner ##
# #
#- name: General | Account Management | Provisioning Configuration | Miner | Create #- name: General | Account Management | Provisioning Configuration | Miner | Create
# blockinfile: # ansible.builtin.blockinfile:
# path: "{{ mnr_file }}" # path: "{{ mnr_file }}"
# block: | # block: |
# ;;;;;;; Available options - all require lowercase values ;;;;;; # ;;;;;;; Available options - all require lowercase values ;;;;;;
@@ -366,7 +366,7 @@
## Server ## ## Server ##
- name: General | Account Management | Provisioning Configuration | Server | Create - name: General | Account Management | Provisioning Configuration | Server | Create
blockinfile: ansible.builtin.blockinfile:
path: "{{ srv_file }}" path: "{{ srv_file }}"
block: | block: |
;;;;;;; Parameters ;;;;;; ;;;;;;; Parameters ;;;;;;
+2 -2
View File
@@ -2,7 +2,7 @@
# Create file to easily push git changes and call SCM. # Create file to easily push git changes and call SCM.
- name: General | Scripts | Root | scm.sh - name: General | Scripts | Root | scm.sh
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_root.home }}/bin/scm.sh" path: "{{ user_root.home }}/bin/scm.sh"
block: | block: |
# 20210211 - Make life easier! # 20210211 - Make life easier!
@@ -20,7 +20,7 @@
- name: General | Scripts | Root | scm-dev.sh - name: General | Scripts | Root | scm-dev.sh
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_root.home }}/bin/scm-dev.sh" path: "{{ user_root.home }}/bin/scm-dev.sh"
block: | block: |
# 20210713 - Make life easier for development! # 20210713 - Make life easier for development!
+2 -2
View File
@@ -2,7 +2,7 @@
# Create file to easily push git changes and call SCM. # Create file to easily push git changes and call SCM.
- name: General | Scripts | User | scm.sh - name: General | Scripts | User | scm.sh
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_user.home }}/bin/scm.sh" path: "{{ user_user.home }}/bin/scm.sh"
block: | block: |
# 20210211 - Make life easier! # 20210211 - Make life easier!
@@ -20,7 +20,7 @@
- name: General | Scripts | User | scm-dev.sh - name: General | Scripts | User | scm-dev.sh
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_user.home }}/bin/scm-dev.sh" path: "{{ user_user.home }}/bin/scm-dev.sh"
block: | block: |
# 20210713 - Make life easier for development! # 20210713 - Make life easier for development!
+1 -1
View File
@@ -16,7 +16,7 @@
ansible.builtin.shell: "files/scripts/nixos.sh -b {{ branch }}" ansible.builtin.shell: "files/scripts/nixos.sh -b {{ branch }}"
- name: General | Software | NixOS | Create Ansible Nix Config - name: General | Software | NixOS | Create Ansible Nix Config
blockinfile: ansible.builtin.blockinfile:
path: /etc/nixos/ansible.nix path: /etc/nixos/ansible.nix
block: | block: |
# This file was created by https://git.hyperling.com/me/env-ansible # This file was created by https://git.hyperling.com/me/env-ansible
+1 -1
View File
@@ -20,7 +20,7 @@
when: postfix.failed when: postfix.failed
- name: Server | Sendmail | Configure - name: Server | Sendmail | Configure
blockinfile: ansible.builtin.blockinfile:
path: /etc/rc.conf path: /etc/rc.conf
block: | block: |
sendmail_enable="YES" sendmail_enable="YES"
+1 -1
View File
@@ -76,7 +76,7 @@
### ignore_errors: true ### ignore_errors: true
### ###
###- name: General | Telegraf | Config 2/2 ###- name: General | Telegraf | Config 2/2
### blockinfile: ### ansible.builtin.blockinfile:
### path: "{{ telegraf_config }}" ### path: "{{ telegraf_config }}"
### block: | ### block: |
### [global_tags] ### [global_tags]
+4 -4
View File
@@ -33,7 +33,7 @@
# CPU # # CPU #
- name: Miner | Software | Nanominer | Configuration | CPU | Header Info - name: Miner | Software | Nanominer | Configuration | CPU | Header Info
blockinfile: ansible.builtin.blockinfile:
path: "{{ nanominer_config }}" path: "{{ nanominer_config }}"
block: | block: |
[{{ item.algorithm }}] [{{ item.algorithm }}]
@@ -81,7 +81,7 @@
# Add Spacing # # Add Spacing #
- name: Miner | Software | Nanominer | Configuration | Spacing - name: Miner | Software | Nanominer | Configuration | Spacing
blockinfile: ansible.builtin.blockinfile:
path: "{{ nanominer_config }}" path: "{{ nanominer_config }}"
block: | block: |
; ;
@@ -97,7 +97,7 @@
# GPU # # GPU #
- name: Miner | Software | Nanominer | Configuration | GPU | Header Info - name: Miner | Software | Nanominer | Configuration | GPU | Header Info
blockinfile: ansible.builtin.blockinfile:
path: "{{ nanominer_config }}" path: "{{ nanominer_config }}"
block: | block: |
[{{ item.algorithm }}] [{{ item.algorithm }}]
@@ -156,7 +156,7 @@
ignore_errors: true ignore_errors: true
- name: Miner | Software | Nanominer | Executable | Create - name: Miner | Software | Nanominer | Executable | Create
blockinfile: ansible.builtin.blockinfile:
path: "{{ nanominer_script }}" path: "{{ nanominer_script }}"
block: | block: |
# 2021-02-15 - Automate nanominer script creation. # 2021-02-15 - Automate nanominer script creation.
+2 -2
View File
@@ -16,7 +16,7 @@
state: present state: present
- name: Workstation | FreeBSD | Software | GUI | Create rc.conf Entries - name: Workstation | FreeBSD | Software | GUI | Create rc.conf Entries
blockinfile: ansible.builtin.blockinfile:
path: "{{ rc_conf }}" path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | GNOME Components" marker: "# {mark} MANAGED BY ANSIBLE | GNOME Components"
block: | block: |
@@ -29,7 +29,7 @@
backup: true backup: true
- name: Workstation | FreeBSD | Software | GUI | Create fstab Entries - name: Workstation | FreeBSD | Software | GUI | Create fstab Entries
blockinfile: ansible.builtin.blockinfile:
path: /etc/fstab path: /etc/fstab
block: | block: |
proc /proc procfs rw 0 0 proc /proc procfs rw 0 0
+1 -1
View File
@@ -8,7 +8,7 @@
state: present state: present
- name: Workstation | FreeBSD | Software | GPU Driver | Create rc.conf Entries - name: Workstation | FreeBSD | Software | GPU Driver | Create rc.conf Entries
blockinfile: ansible.builtin.blockinfile:
path: "{{ rc_conf }}" path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | GPU Components" marker: "# {mark} MANAGED BY ANSIBLE | GPU Components"
block: | block: |
+2 -2
View File
@@ -377,7 +377,7 @@
## Configure Environment ## ## Configure Environment ##
- name: Workstation | Linux | Software | Android | Modify PATH (.bashrc) - name: Workstation | Linux | Software | Android | Modify PATH (.bashrc)
blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}/.bashrc" path: "{{ item }}/.bashrc"
block: | block: |
export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}" export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}"
@@ -394,7 +394,7 @@
and user_user.home != "" and user_user.home != ""
- name: Workstation | Linux | Software | Android | Modify PATH (.zshrc) - name: Workstation | Linux | Software | Android | Modify PATH (.zshrc)
blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}/.zshrc" path: "{{ item }}/.zshrc"
block: | block: |
export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}" export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}"
@@ -103,7 +103,7 @@
loop: "{{ flatpaks_generic }}" loop: "{{ flatpaks_generic }}"
- name: Workstation | Linux | Flatpak Distro | Flatpak | Generic | Executables - name: Workstation | Linux | Flatpak Distro | Flatpak | Generic | Executables
blockinfile: ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}" path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: | block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }} {{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -135,7 +135,7 @@
when: coding when: coding
- name: Workstation | Linux | Flatpak Distro | Flatpak | Coding | Executables - name: Workstation | Linux | Flatpak Distro | Flatpak | Coding | Executables
blockinfile: ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}" path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: | block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }} {{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -184,7 +184,7 @@
when: editing in (true, "video") when: editing in (true, "video")
- name: Workstation | Linux | Flatpak Distro | Flatpak | Video Editors | Executables - name: Workstation | Linux | Flatpak Distro | Flatpak | Video Editors | Executables
blockinfile: ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}" path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: | block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }} {{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -231,7 +231,7 @@
when: editing in (true, "audio") when: editing in (true, "audio")
- name: Workstation | Linux | Flatpak Distro | Flatpak | Audio/Video Editors | Executables - name: Workstation | Linux | Flatpak Distro | Flatpak | Audio/Video Editors | Executables
blockinfile: ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}" path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: | block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }} {{ item.extra }} {{ flatpak_exec }} {{ item.app }}
@@ -280,7 +280,7 @@
when: gaming when: gaming
- name: Workstation | Linux | Flatpak Distro | Flatpak | Gaming | Executables - name: Workstation | Linux | Flatpak Distro | Flatpak | Gaming | Executables
blockinfile: ansible.builtin.blockinfile:
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}" path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
block: | block: |
{{ item.extra }} {{ flatpak_exec }} {{ item.app }} {{ item.extra }} {{ flatpak_exec }} {{ item.app }}
+2 -2
View File
@@ -129,7 +129,7 @@
## Configure Environment ## ## Configure Environment ##
- name: Workstation | Linux | Software | Flutter | Modify PATH (.bashrc) - name: Workstation | Linux | Software | Flutter | Modify PATH (.bashrc)
blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}/.bashrc" path: "{{ item }}/.bashrc"
block: | block: |
export PATH="$PATH:{{ flutter_bin_location }}" export PATH="$PATH:{{ flutter_bin_location }}"
@@ -146,7 +146,7 @@
and user_user.home != "" and user_user.home != ""
- name: Workstation | Linux | Software | Flutter | Modify PATH (.zshrc) - name: Workstation | Linux | Software | Flutter | Modify PATH (.zshrc)
blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}/.zshrc" path: "{{ item }}/.zshrc"
block: | block: |
export PATH="$PATH:{{ flutter_bin_location }}" export PATH="$PATH:{{ flutter_bin_location }}"
+1 -1
View File
@@ -136,7 +136,7 @@
when: ansible_service_mgr == "runit" when: ansible_service_mgr == "runit"
- name: Workstation | Linux | Software | TLP | runit | Functions & Aliases - name: Workstation | Linux | Software | TLP | runit | Functions & Aliases
blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}" path: "{{ item }}"
block: | block: |
function tlp-devices { function tlp-devices {
@@ -70,7 +70,7 @@
# Apply dconf settings through RC files due to distros without working psutil. # 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. # Use the command 'dconf watch /' then change settings to see find these values.
- name: Workstation | Account Management | Cinnamon | Settings - name: Workstation | Account Management | Cinnamon | Settings
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}" path: "{{ user_user.home }}/{{ item }}"
block: | block: |
# Disable Cinnamon Settings While Converting From GNOME # 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. # 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. # Use the command 'dconf watch /' then change settings to see find these values.
- name: Workstation | Account Management | GNOME | Settings - name: Workstation | Account Management | GNOME | Settings
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}" path: "{{ user_user.home }}/{{ item }}"
block: | block: |
## Temporary Variables + Functions ## ## Temporary Variables + Functions ##
@@ -440,7 +440,7 @@
# Remove the dconf settings which had the marker related to NixOS. # Remove the dconf settings which had the marker related to NixOS.
- name: Workstation | Account Management | GNOME | Settings (NixOS) - name: Workstation | Account Management | GNOME | Settings (NixOS)
blockinfile: ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}" path: "{{ user_user.home }}/{{ item }}"
block: | block: |
# TBD: No longer used. Remove in 2027. # TBD: No longer used. Remove in 2027.
+1 -1
View File
@@ -21,7 +21,7 @@
# https://www.unixmen.com/setup-nfs-server-on-freebsd/ # https://www.unixmen.com/setup-nfs-server-on-freebsd/
- name: Workstation | Settings | NFS | Install (FreeBSD) - name: Workstation | Settings | NFS | Install (FreeBSD)
blockinfile: ansible.builtin.blockinfile:
path: "{{ rc_conf }}" path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | NFS Components" marker: "# {mark} MANAGED BY ANSIBLE | NFS Components"
block: | block: |
+1 -1
View File
@@ -8,7 +8,7 @@
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"
- name: Workstation | Settings | RDP | FreeBSD | Enable - name: Workstation | Settings | RDP | FreeBSD | Enable
blockinfile: ansible.builtin.blockinfile:
path: "{{ rc_conf }}" path: "{{ rc_conf }}"
marker: "# {mark} MANAGED BY ANSIBLE | RDP Components" marker: "# {mark} MANAGED BY ANSIBLE | RDP Components"
block: | block: |