borgbackup-client: call update_motd role in play

This commit is contained in:
Alexandre Iooss 2021-11-27 20:04:05 +01:00
parent 07a0429ae0
commit cc6f96bbc8
2 changed files with 5 additions and 7 deletions

View file

@ -10,6 +10,11 @@
- update_motd - update_motd
- hosts: all,!unifi,!unifi-*,!wiki.adm.auro.re - hosts: all,!unifi,!unifi-*,!wiki.adm.auro.re
vars:
update_motd:
borgbackup_client: >-
BorgBackup est déployé (/etc/borgmatic/config.yaml)
roles: roles:
- borgbackup_client - borgbackup_client
- update_motd
... ...

View file

@ -107,11 +107,4 @@
name: borgmatic.timer name: borgmatic.timer
state: started state: started
enabled: true enabled: true
- name: Configure MOTD
include_role:
name: update_motd
vars:
key: 10-borgmatic
message: Borgmatic (client) est installé dans /etc/borgmatic/config.yaml.
... ...