diff --git a/defaults/main.yml b/defaults/main.yml index 34407a9..da8b8b6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1234,3 +1234,7 @@ audit_run_script_environment: AUDIT_BIN: "{{ audit_bin }}" AUDIT_FILE: 'goss.yml' AUDIT_CONTENT_LOCATION: "{{ audit_out_dir }}" + +#### Logging Configuration Settings #### +# Set to true in order to supress the various tasks from logging +suppress_package_facts_logging: false diff --git a/tasks/main.yml b/tasks/main.yml index ef6a464..e75ce3e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -82,6 +82,7 @@ - name: Gather the package facts ansible.builtin.package_facts: manager: auto + no_log: suppress_package_facts_logging tags: - always