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
diff --git a/roles/apache-logs-conf/tasks/main.yaml b/roles/apache-logs-conf/tasks/main.yaml
index 7fd490e..60b4fbf 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