From 2d95820de901be0aa1a34af0807ad4663730a70f Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Fri, 15 Jul 2022 14:22:51 +0200 Subject: [PATCH] Add "tags: always" to commit task so it always runs when using tags --- evolixisation.yml | 2 ++ roles/etc-git/tasks/commit.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/evolixisation.yml b/evolixisation.yml index 6f3adb6..7a90f42 100644 --- a/evolixisation.yml +++ b/evolixisation.yml @@ -28,6 +28,7 @@ vars: commit_message: "Ansible pre-run evolisation.yml" when: not ansible_check_mode +# tags: always roles: - etc-git @@ -50,6 +51,7 @@ vars: commit_message: "Ansible post-run evolisation.yml" when: not ansible_check_mode + tags: always - include_role: name: evocheck diff --git a/roles/etc-git/tasks/commit.yml b/roles/etc-git/tasks/commit.yml index 10f4b45..5fa020b 100644 --- a/roles/etc-git/tasks/commit.yml +++ b/roles/etc-git/tasks/commit.yml @@ -8,3 +8,4 @@ - "'CHANGED:' in _ansible_commit.stdout" ignore_errors: true register: _ansible_commit + tags: always