be72e626e8
In case of aws spot instances, the node can drop the connection anytime. Ansible loops do not fail when the first item fails, instead they execute all items before reporting the failure. This leads to a big overhead, if we sync repositories, when the node has dropped the connection beforehand. Therefore i used include_tasks, which fails for the first unsuccessful item. Change-Id: Id6079a2cda10a825384d52d47750d9c05d323e00 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
README.rst |
Mirror the local git repos to remote nodes
This role uses git operations (unlike :zuulprepare-workspace
which uses
rsync) to mirror the locally prepared git repos to the remote nodes
while taking advantage of cached repos on the node if they exist. This
role works generically regardless of the existence of a cached repo on
the node.
The cached repos need to be placed using the canonical name under the cached_repos_root directory.
Role Variables