diff options
author | 2017-12-13 09:29:45 +0000 | |
---|---|---|
committer | 2017-12-13 09:32:20 +0000 | |
commit | 55916bc06fe49653441c899f9982e16ef1ef894b (patch) | |
tree | fcb449614ffe6282d5bb0e51cd0637243896fd56 /xci/playbooks/get-opnfv-scenario-requirements.yml | |
parent | 304a45bbdc52aa5e7f4374d027e4e17f42d2cd75 (diff) |
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 <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/get-opnfv-scenario-requirements.yml')
-rw-r--r-- | xci/playbooks/get-opnfv-scenario-requirements.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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" |