Skip to content

Commit

Permalink
ability to supress the package logging facts
Browse files Browse the repository at this point in the history
  • Loading branch information
dannybrody committed Jul 16, 2024
1 parent e377008 commit 97c6827
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
- name: Gather the package facts
ansible.builtin.package_facts:
manager: auto
no_log: suppress_package_facts_logging
tags:
- always

Expand Down

0 comments on commit 97c6827

Please sign in to comment.