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
This commit is contained in:
parent
34564fd616
commit
0f39756f61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user