Skip to content
Snippets Groups Projects
Commit 1b9ff3f8 authored by ale's avatar ale
Browse files

Check revision when in check mode

parent d70ed1c4
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
changed_when: false changed_when: false
ignore_errors: true ignore_errors: true
register: commit_compare register: commit_compare
check_mode: no
- fail: - fail:
msg: "You are pushing an older version of the sources. Run 'git pull' and try again?" msg: "You are pushing an older version of the sources. Run 'git pull' and try again?"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment