From 0f39756f6158bf5cf9a7bfc7eda655b883002722 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Fri, 2 Feb 2018 17:03:24 +0000 Subject: [PATCH] Make the apache-logs-conf role less verbose The role is logging a lot of useless data with all the stat info from various config and log files. Remove verbosity using no_log. Change-Id: I72c721573ffc4a14adc3e2b29285c1071b7ec4f7 --- roles/apache-logs-conf/tasks/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/apache-logs-conf/tasks/main.yaml b/roles/apache-logs-conf/tasks/main.yaml index 7fd490ea4c..60b4fbfead 100644 --- a/roles/apache-logs-conf/tasks/main.yaml +++ b/roles/apache-logs-conf/tasks/main.yaml @@ -64,12 +64,14 @@ path: "{{ apache_config_paths[ansible_os_family] }}" file_type: any register: apache_configs + no_log: true - name: Dereference configurations stat: path: "{{ item.path }}" with_items: "{{ apache_configs.files }}" register: apache_configs_deref + no_log: true - name: Link configurations file: @@ -78,3 +80,4 @@ state: hard with_items: "{{ apache_configs_deref.results }}" when: item.stat.isreg or item.stat.islnk + no_log: true