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
+8 -8
View File
@@ -2,7 +2,7 @@
# Define file, folder, and other facts per OS.
- name: General | Facts | System | Global 01
set_fact:
ansible.builtin.set_fact:
global_src: /usr/local/src
global_bin: /usr/local/bin
x_desktops: /usr/share/xsessions
@@ -13,7 +13,7 @@
runit_service_dir: /etc/runit/runsvdir/default
- name: General | Facts | System | Global 02
set_fact:
ansible.builtin.set_fact:
shared_rc_install_dir: "{{ global_src }}/env-shared"
notify_log_file: "/var/log/{{ notify_log }}"
notify_log_file_wip: "/tmp/{{ notify_log }}.wip"
@@ -22,11 +22,11 @@
st_install_dir: "{{ global_src }}/st"
- name: General | Facts | System | Global 03
set_fact:
ansible.builtin.set_fact:
shared_rc_bin: "{{ shared_rc_install_dir }}/bin-shared"
- name: General | Facts | System | Linux
set_fact:
ansible.builtin.set_fact:
rc_conf: /dev/null
sudoers_install_dir: /etc/sudoers.d/
sudoers_config: /etc/sudoers
@@ -34,24 +34,24 @@
when: ansible_system == "Linux"
- name: General | Facts | System | FreeBSD
set_fact:
ansible.builtin.set_fact:
rc_conf: /etc/rc.conf
sudoers_install_dir: /usr/local/etc/sudoers.d/
shutdown_command: sudo shutdown -p now
when: ansible_system == "FreeBSD"
- name: General | Facts | System | Report File Names
set_fact:
ansible.builtin.set_fact:
lynis_report: "lynis_hardness_check.txt"
nmap_report: "nmap_port_check.txt"
- name: General | Facts | System | Ansible Branch
set_fact:
ansible.builtin.set_fact:
branch: main
when: branch is not defined
- name: General | Facts | System | runit (Devuan)
set_fact:
ansible.builtin.set_fact:
runit_script_dir: /etc/sv
runit_service_dir: /etc/service
when: ansible_pkg_mgr == "apt"