Add evomaintenance

This commit is contained in:
Alexis Ben Miloud--Josselin 2020-11-17 15:35:43 +01:00
parent e27b9a29ce
commit d08a59d8ea

View file

@ -4,6 +4,13 @@
- hosts: all
become: yes
pre_tasks:
- include_role:
name: etc-git
tasks_from: commit.yml
vars:
commit_message: "Ansible pre-run deploy-kvmstats.yml"
tasks:
- name: kvmstats is installed
copy:
@ -20,3 +27,10 @@
dest: /var/www/index.html
insertbefore: '</ul>'
line: '<li><a href="/kvmstats.html">kvmstats</a></li>'
post_tasks:
- include_role:
name: etc-git
tasks_from: commit.yml
vars:
commit_message: "Ansible post-run check_ssl.yml"