Merge "Revert "Async clone for git roles""
This commit is contained in:
commit
65eeb0a048
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user