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
- hosts: all,!unifi,!unifi-*,!wiki.adm.auro.re
vars:
update_motd:
borgbackup_client: >-
BorgBackup est déployé (/etc/borgmatic/config.yaml)
roles:
- borgbackup_client
- update_motd
...

View file

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