From d145d3fdc31b19fee43a1cf4b4ae37810cefbe1d Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Tue, 3 May 2022 18:58:25 +0200 Subject: [PATCH] Add pre_tasks in evolixisation.yml playbook --- evolixisation.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/evolixisation.yml b/evolixisation.yml index c15c3dc..fc4c833 100644 --- a/evolixisation.yml +++ b/evolixisation.yml @@ -21,6 +21,14 @@ client_number: "XXX" monitoring_mode: "everytime" + pre_tasks: + - include_role: + name: etc-git + tasks_from: commit.yml + vars: + commit_message: "Ansible pre-run evolisation.yml" + when: not ansible_check_mode + roles: - etc-git - base @@ -40,6 +48,7 @@ tasks_from: commit.yml vars: commit_message: "Ansible post-run evolisation.yml" + when: not ansible_check_mode - include_role: name: evocheck