Skip to content
Snippets Groups Projects
Commit a10c8820 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

allow git clone to fail

parent 9434dbab
No related branches found
No related tags found
No related merge requests found
......@@ -11,11 +11,19 @@
name: "{{ conf_req_packages }}"
- name: clone envsetup repository
ignore_errors: true
register: conf_clone
git:
repo: "{{ conf_repo_url }}"
version: "{{ conf_repo_version }}"
dest: "{{ conf_repo_dest }}"
- name: ask to continue
when: conf_clone is failed
pause:
prompt: "Previous task failed, it may be normal if you have local changes in the commited files, do you want to continue anyway?"
seconds: 30
- name: generate root ssh key pair
register: conf_root
user:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment