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
+3 -3
View File
@@ -2,18 +2,18 @@
# List all the services under the Reports folder.
- name: General | Tests | Services | Set Facts
set_fact:
ansible.builtin.set_fact:
services_report_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services.txt"
services_enabled_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services-enabled.txt"
services_command: "echo 'Service Manager {{ ansible_service_mgr }} Not Recognized'"
- name: General | Tests | Services | Set Facts | SystemD
set_fact:
ansible.builtin.set_fact:
services_command: "systemctl list-unit-files"
when: ansible_service_mgr == "systemd"
- name: General | Tests | Services | Set Facts | runit
set_fact:
ansible.builtin.set_fact:
services_command: 'for s in {{ runit_service_dir }}/*; do sv status "$s"; done'
when: ansible_service_mgr == "runit"