From 9c9a7f4303fb28573bb280e695b9661a0aa2a4bd Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Mon, 19 Nov 2018 17:44:41 +0100 Subject: Suppress log copy output in gates Copying collectd logs is half of the job ouput. This change is to remove the verbosity of the syncronize tasks by applying --quiet to only show errors Change-Id: I39b47b844aab87d043a2cd745103d6589f3632e3 --- roles/collect-collectd/tasks/main.yml | 4 ++++ tests/playbooks/post.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/roles/collect-collectd/tasks/main.yml b/roles/collect-collectd/tasks/main.yml index 779034b45..2ebedc18e 100644 --- a/roles/collect-collectd/tasks/main.yml +++ b/roles/collect-collectd/tasks/main.yml @@ -52,6 +52,8 @@ mode: pull copy_links: true verify_host: true + rsync_opts: + - "--quiet" - name: copy collectd rrd files synchronize: @@ -60,6 +62,8 @@ mode: pull copy_links: true verify_host: true + rsync_opts: + - "--quiet" - name: start collectd service service: diff --git a/tests/playbooks/post.yml b/tests/playbooks/post.yml index 577b12bd2..f344396fa 100644 --- a/tests/playbooks/post.yml +++ b/tests/playbooks/post.yml @@ -89,3 +89,5 @@ mode: pull copy_links: true verify_host: true + rsync_opts: + - "--quiet" -- cgit v1.2.3