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

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-02-25 01:43:52 +01:00 committed by ynerant
parent 5aeefd730e
commit 13c97d3e07
1 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,6 @@
dest: /usr/scripts
version: "{{ crans_scripts.version }}"
umask: "002"
environment:
GIT_SSL_NO_VERIFY: 1
register: git_result
changed_when: "git_result.after|default('after') != git_result.before|default('before')"
when: not ansible_check_mode