Browse code

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

Andrea Frittoli authored on 2018/02/03 02:03:24
Showing 1 changed files
... ...
@@ -64,12 +64,14 @@
64 64
     path: "{{ apache_config_paths[ansible_os_family] }}"
65 65
     file_type: any
66 66
   register: apache_configs
67
+  no_log: true
67 68
 
68 69
 - name: Dereference configurations
69 70
   stat:
70 71
     path: "{{ item.path }}"
71 72
   with_items: "{{ apache_configs.files }}"
72 73
   register: apache_configs_deref
74
+  no_log: true
73 75
 
74 76
 - name: Link configurations
75 77
   file:
... ...
@@ -78,3 +80,4 @@
78 78
     state: hard
79 79
   with_items: "{{ apache_configs_deref.results }}"
80 80
   when: item.stat.isreg or item.stat.islnk
81
+  no_log: true