From 4338a648d3b45ced1345dce92d71ec049ffe001d Mon Sep 17 00:00:00 2001 From: "Jesse Pretorius (odyssey4me)" Date: Fri, 15 Dec 2017 18:11:17 +0000 Subject: [PATCH] Revert "Async clone for git roles" This reverts commit 7a1e46b2c55d35037030454533fd436442706e7d. Tasks executed asynchronously do not implement retries like normal tasks do. As the role clones are failing quite often due to TLS failures we need the retries. Change-Id: Iac4167a63387f645e91d4529218c9d2de87ea5a7 --- tests/get-ansible-role-requirements.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/get-ansible-role-requirements.yml b/tests/get-ansible-role-requirements.yml index 7a7806da95..4dd7035926 100644 --- a/tests/get-ansible-role-requirements.yml +++ b/tests/get-ansible-role-requirements.yml @@ -73,21 +73,9 @@ map(attribute='item') | list) | default(required_roles, True) }}" register: git_clone + until: git_clone | success retries: "{{ git_clone_retries }}" delay: "{{ git_clone_retry_delay }}" - async: 1800 - poll: 0 - - - name: Wait for git clones to complete - async_status: - jid: "{{ item['ansible_job_id'] }}" - register: _git_jobs - until: _git_jobs['finished'] | bool - delay: 5 - retries: 360 - with_items: "{{ git_clone['results'] }}" - when: - - item['ansible_job_id'] is defined vars: ansible_python_interpreter: "/usr/bin/python"