Rôle pour motd #38

Merged
jeltz merged 7 commits from update_motd into master 2021-03-11 19:34:51 +01:00
2 changed files with 8 additions and 9 deletions
Showing only changes of commit 1d0200a1f0 - Show all commits

View file

@ -84,8 +84,11 @@
enabled: true enabled: true
state: started state: started
- name: Indicate role in motd - include_role:
template: name: update_motd
src: update-motd.d/05-service.j2 vars:
dest: /etc/update-motd.d/05-prometheus motd_messages:
mode: 0755 - key: 05-prometheus
message: >-
Prometheus est déployé sur cette machine (voir /etc/prometheus)
...

View file

@ -1,4 +0,0 @@
#!/bin/sh
# {{ ansible_managed }}
echo "> prometheus a été déployé sur cette machine."
echo " Voir /etc/prometheus/"