diff --git a/tasks/commit_etc_git.yml b/tasks/commit_etc_git.yml index ee59109..2ccd620 100644 --- a/tasks/commit_etc_git.yml +++ b/tasks/commit_etc_git.yml @@ -5,6 +5,7 @@ chdir: /etc changed_when: False register: git_status + when: not ansible_check_mode tags: - git @@ -13,6 +14,6 @@ args: chdir: /etc register: etc_commit_end_evolinux - when: git_status.stdout != "" + when: not ansible_check_mode and git_status.stdout != "" tags: - git