From 55916bc06fe49653441c899f9982e16ef1ef894b Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 13 Dec 2017 09:29:45 +0000 Subject: xci: Reduce noise during bootstrapping There is too much noise when XCI is cloning repositories, installing packages etc so lets make the console output somewhat more readable. Change-Id: I15667e0349f943ad5488daf0e3cea9336c9166d1 Signed-off-by: Markos Chandras --- xci/playbooks/get-opnfv-scenario-requirements.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'xci/playbooks') diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml index fbe60f67..11aee8ee 100644 --- a/xci/playbooks/get-opnfv-scenario-requirements.yml +++ b/xci/playbooks/get-opnfv-scenario-requirements.yml @@ -28,12 +28,16 @@ with_nested: - "{{ scenarios }}" - [ "{{ scenario_path_default }}", "{{ role_path_default }}" ] + loop_control: + label: "{{ item[0].scenario }}" - name: Create scenario directories file: path: "{{ role_path_default }} + '/' + item.scenario }}" state: directory with_items: "{{ scenarios }}" + loop_control: + label: "{{ item.scenario }}" - name: Clone git repos (with git) git: @@ -50,12 +54,16 @@ until: git_clone | success retries: "{{ git_clone_retries }}" delay: "{{ git_clone_retry_delay }}" + loop_control: + label: "{{ item.scenario }}" - name: Check that scenarios exist stat: path: "{{ scenario_path_default }}/{{ item.scenario }}/{{ item.role }}" register: scenarios_list_exists with_items: "{{ scenarios }}" + loop_control: + label: "{{ item.scenario }}" - name: Plug in the scenario to XCI shell: >- @@ -63,6 +71,8 @@ {{ role_path_default }}/{{ item.item.scenario }} when: item.stat.exists with_items: "{{ scenarios_list_exists.results }}" + loop_control: + label: "{{ item.item.scenario }}" - name: Plug in the scenario to XCI (fallback) shell: >- @@ -70,6 +80,8 @@ {{ role_path_default }}/{{ item.item.scenario }} when: not item.stat.exists with_items: "{{ scenarios_list_exists.results }}" + loop_control: + label: "{{ item.item.scenario }}" vars: ansible_python_interpreter: "/usr/bin/python" -- cgit