Migrate set_fact to FQCN.

This commit is contained in:
me
2026-10-02 11:23:31 -07:00
parent ab09a74bf2
commit b306064061
41 changed files with 150 additions and 150 deletions
+14 -14
View File
@@ -3,7 +3,7 @@
# This file is for ALL systems and should not include UI components.
- name: General | Facts | Package | Shared Defaults
set_fact:
ansible.builtin.set_fact:
sshfs: sshfs
tar: tar
iftop: iftop
@@ -24,13 +24,13 @@
jq: jq
- name: General | Facts | Package | Parrot OS Fixes
set_fact:
ansible.builtin.set_fact:
ansible_pkg_mgr: "apt"
ansible_python_interpreter: "/usr/bin/python3"
when: ansible_distribution == "Parrot OS"
- name: General | Facts | Package | apt
set_fact:
ansible.builtin.set_fact:
locate: locate
opensshd: openssh-server
microcode_amd: amd64-microcode
@@ -41,7 +41,7 @@
when: ansible_pkg_mgr == "apt"
- name: General | Facts | Package | pacman
set_fact:
ansible.builtin.set_fact:
locate: mlocate
opensshd: openssh
microcode_amd: linux-firmware
@@ -53,7 +53,7 @@
when: ansible_pkg_mgr == "pacman"
- name: General | Facts | Package | FreeBSD
set_fact:
ansible.builtin.set_fact:
sshfs: fusefs-sshfs
locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
opensshd: htop # sshd comes installed on FreeBSD
@@ -65,12 +65,12 @@
when: ansible_system == "FreeBSD"
- name: General | Facts | Package | dnf (Fixes)
set_fact:
ansible.builtin.set_fact:
ansible_pkg_mgr: dnf
when: ansible_pkg_mgr in ("dnf5")
- name: General | Facts | Package | dnf
set_fact:
ansible.builtin.set_fact:
sshfs: fuse-sshfs
locate: plocate
opensshd: openssh
@@ -83,7 +83,7 @@
when: ansible_pkg_mgr == "dnf"
- name: General | Facts | Package | zypper
set_fact:
ansible.builtin.set_fact:
locate: plocate
opensshd: openssh
microcode_amd: ucode-amd
@@ -95,7 +95,7 @@
- name: General | Facts | Package | Update Command | Helpers
set_fact:
ansible.builtin.set_fact:
update_accept_var: '$accept'
nix_days: 14
ansible_distribution_file: "{{ prov_dir }}/ansible_distribution.txt"
@@ -108,7 +108,7 @@
- "echo '{{ ansible_pkg_mgr }}' > {{ ansible_pkg_mgr_file }}"
- name: General | Facts | Package | Update Command
set_fact:
ansible.builtin.set_fact:
update_package_manager: |
distribution="`cat {{ ansible_distribution_file }}`"
@@ -274,7 +274,7 @@
ignore_errors: true
- name: General | Facts | Package | Update Command | Flatpak | Exists
set_fact:
ansible.builtin.set_fact:
update_flatpak: |
echo "*** Flatpak ***"
[[ -n "$accept" ]] && sudo flatpak repair
@@ -286,7 +286,7 @@
and not flatpak_exec.failed
- name: General | Facts | Package | Update Command | Flatpak | Missing
set_fact:
ansible.builtin.set_fact:
update_flatpak: |
echo "*** Flatpak Not Installed ***"
when: update_flatpak is not defined
@@ -298,7 +298,7 @@
ignore_errors: true
- name: General | Facts | Package | Update Command | Firmware | Exists
set_fact:
ansible.builtin.set_fact:
update_firmware: |
echo "*** Firmware ***"
sudo fwupdmgr refresh --force &&
@@ -310,7 +310,7 @@
and not fwupdmgr_exec.failed
- name: General | Facts | Package | Update Command | Firmware | Missing
set_fact:
ansible.builtin.set_fact:
update_firmware: |
echo "*** Firmware Updater (fwupdmgr) Not Installed ***"
when: update_firmware is not defined