From 36aeb953996d79cd6394a706af3ab6db5bd97f1f Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Fri, 2 Feb 2018 14:31:22 +0000 Subject: [PATCH] Add no_log to verbouse tasks Two tasks in stage-output "Register sources" and "Set source and destination for files and folders" spam the whole output of "stat" to be printed to console for each and every file to be staged. The info is printed twice and it's hardly valuable for debugging purposes. The following task, "Build a list of source, dest dictionaries for text file", prints a more compact list of all files and folders that are going to be staged, which I believe is enough for debugging. To solve this add no_log to the two tasks mentioned above. Change-Id: Id52047c429233c6684f2fca5537674f91fb2603d --- roles/stage-output/tasks/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/stage-output/tasks/main.yaml b/roles/stage-output/tasks/main.yaml index 23eb19c14..02272f73b 100644 --- a/roles/stage-output/tasks/main.yaml +++ b/roles/stage-output/tasks/main.yaml @@ -3,6 +3,7 @@ path: "{{ item.key }}" with_dict: "{{ zuul_copy_output }}" register: sources + no_log: true - name: Build the replace regex when the input is a list set_fact: @@ -42,6 +43,7 @@ - item.stat.exists - item.item.value register: results + no_log: true - name: Build a list of source, dest dictionaries for text files set_fact: