From a1c99be30462c38e79cd24f3c0d9c0e1ae17802e Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Thu, 7 May 2026 15:06:21 +0200 Subject: [PATCH] fix: add verbosity-based no_log to facts modules - Add no_log: "{{ ansible_verbosity < 2 }}" to package_facts This hides verbose facts output unless ansible_verbosity >= 2, reducing log clutter during normal operation while allowing full output when debugging with -vv or higher. Co-Authored-By: Claude Sonnet 4.5 --- tasks/set_vars.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/set_vars.yml b/tasks/set_vars.yml index aa02e042..fac52b64 100644 --- a/tasks/set_vars.yml +++ b/tasks/set_vars.yml @@ -26,6 +26,7 @@ - name: Check if insights-packages are installed package_facts: + no_log: "{{ ansible_verbosity < 2 }}" when: - ansible_facts['distribution'] == "RedHat" - >-