Skip to content
Snippets Groups Projects
Commit 13c97d3e authored by ynerant's avatar ynerant Committed by ynerant
Browse files

[scripts] Ansible is buggy, git has no change if the commit hash did not change


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 5aeefd73
No related branches found
No related tags found
1 merge request!214Fix root playbook
...@@ -24,6 +24,6 @@ ...@@ -24,6 +24,6 @@
dest: /usr/scripts dest: /usr/scripts
version: "{{ crans_scripts.version }}" version: "{{ crans_scripts.version }}"
umask: "002" umask: "002"
environment: register: git_result
GIT_SSL_NO_VERIFY: 1 changed_when: "git_result.after|default('after') != git_result.before|default('before')"
when: not ansible_check_mode when: not ansible_check_mode
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