mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
Add additional msgs
This commit is contained in:
parent
a45be50943
commit
de2dab2502
3 changed files with 6 additions and 2 deletions
|
@ -55,5 +55,7 @@ restic_archiver__mailaddress: 'root@localhost'
|
||||||
# restic default options
|
# restic default options
|
||||||
restic_archiver__default_opt: ''
|
restic_archiver__default_opt: ''
|
||||||
|
|
||||||
|
# additional msgs
|
||||||
|
restic_archiver__additional_mail_msg: ''
|
||||||
# version check for this playbook (true is recomended)
|
# version check for this playbook (true is recomended)
|
||||||
submodules_versioncheck: false
|
submodules_versioncheck: false
|
||||||
|
|
|
@ -11,7 +11,7 @@ cat <<EOT > /tmp/mailcontent
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>SUMMARY for Restic BACKUP</h1>
|
<h1>SUMMARY for Restic BACKUP</h1>
|
||||||
|
{{ restic_archiver__additional_mail_msg | default ('') }}
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
{% for repo in restic_archiver__repos %}
|
{% for repo in restic_archiver__repos %}
|
||||||
|
@ -86,7 +86,9 @@ cat <<EOT >> /tmp/mailcontent
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
<code>
|
<code>
|
||||||
|
<pre>
|
||||||
$(df -h)
|
$(df -h)
|
||||||
|
</pre>
|
||||||
</code>
|
</code>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -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'
|
playbook_version_path: 'role-restic_archiver_roles-ansible_github.com.version'
|
||||||
|
|
Loading…
Reference in a new issue