Add pre_tasks in evolixisation.yml playbook

This commit is contained in:
Jérémy Dubois 2022-05-03 18:58:25 +02:00
parent 7b98ae73a8
commit d145d3fdc3
1 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,14 @@
client_number: "XXX" client_number: "XXX"
monitoring_mode: "everytime" 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: roles:
- etc-git - etc-git
- base - base
@ -40,6 +48,7 @@
tasks_from: commit.yml tasks_from: commit.yml
vars: vars:
commit_message: "Ansible post-run evolisation.yml" commit_message: "Ansible post-run evolisation.yml"
when: not ansible_check_mode
- include_role: - include_role:
name: evocheck name: evocheck