Replace always_run with check_mode
@ -10,7 +10,7 @@
- name: 'GIT | generate git informations'
local_action: command {{ role_path }}/gen-gitinfos.sh global
register: gitinfo
always_run: yes
check_mode: no
- name: 'GIT | copy ansible information'
template:
@ -21,7 +21,7 @@
- name: 'GIT | generate diff file'
local_action: command {{ role_path }}/gen-gitinfos.sh diff
register: gitdiff
- name: 'GIT | copy git diff file'
copy: