diff --git a/defaults/main.yml b/defaults/main.yml index ae053cd..70ef392 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -55,5 +55,7 @@ restic_archiver__mailaddress: 'root@localhost' # restic default options restic_archiver__default_opt: '' +# additional msgs +restic_archiver__additional_mail_msg: '' # version check for this playbook (true is recomended) submodules_versioncheck: false diff --git a/templates/restic_mailsummary.j2 b/templates/restic_mailsummary.j2 index ea269f7..24cd35e 100644 --- a/templates/restic_mailsummary.j2 +++ b/templates/restic_mailsummary.j2 @@ -11,7 +11,7 @@ cat < /tmp/mailcontent

SUMMARY for Restic BACKUP

- +{{ restic_archiver__additional_mail_msg | default ('') }} EOT {% for repo in restic_archiver__repos %} @@ -86,7 +86,9 @@ cat <> /tmp/mailcontent





+
 $(df -h)
+
diff --git a/vars/main.yml b/vars/main.yml index b246986..5b6ed07 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 37 # should be over ninethousand +playbook_version_number: 38 # should be over ninethousand playbook_version_path: 'role-restic_archiver_roles-ansible_github.com.version'