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
This commit is contained in:
Andrea Frittoli 2018-02-02 14:31:22 +00:00
parent 0783a5c8fb
commit 36aeb95399

View File

@ -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: