Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
ci
/
zuul-jobs-cesnet
/
1744cc05425b1fdbd80538e39c1a8825ebed77cb
/
.
/
roles
/
git-use-previous-commit
/
tasks
/
main.yaml
blob: cb7458e56ab6d615ef2b191fdfce538299b66b2b [
file
] [
log
] [
blame
]
-
name:
Prepare git submodules
shell:
|
echo
"{{ item.key }}"
git checkout
-
b
"zuul_origin_{{ zuul.branch }}"
"origin/{{ zuul.branch }}"
args:
chdir:
"{{ ansible_user_dir }}/{{ item.value.src_dir }}"
loop:
"{{ query('dict', zuul.projects) }}"