Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
0fbb0dfc
Commit
0fbb0dfc
authored
4 years ago
by
Baptiste DE RENZO
Browse files
Options
Downloads
Patches
Plain Diff
Fix systemd unknown mail sender, refs
#33490
parent
40363f63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/mediavault/defaults/main.yml
+1
-1
1 addition, 1 deletion
ansible/roles/mediavault/defaults/main.yml
ansible/roles/mediavault/templates/systemd-mailer-script.j2
+1
-1
1 addition, 1 deletion
ansible/roles/mediavault/templates/systemd-mailer-script.j2
with
2 additions
and
2 deletions
ansible/roles/mediavault/defaults/main.yml
+
1
−
1
View file @
0fbb0dfc
...
...
@@ -12,7 +12,7 @@ mv_script_path: /usr/local/sbin/rsync_tmbackup
mv_mailer_enabled
:
true
mv_mailer_script_path
:
/usr/local/sbin/systemd-mailer
mv_mailer_from
:
backup
<backup@{{ ansible_fqdn }}>
mv_mailer_from
:
"
{{
ansible_fqdn
}}
<backup@{{
ansible_fqdn
}}>
"
mv_mailer_to
:
sysadmin+backup@ubicast.eu
mv_mailer_service_name
:
status-email-admin
mv_mailer_service_path
:
/etc/systemd/system/{{ mv_mailer_service_name }}@.service
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/mediavault/templates/systemd-mailer-script.j2
+
1
−
1
View file @
0fbb0dfc
...
...
@@ -3,7 +3,7 @@
sendmail
-t
<<
ERRMAIL
To:
$1
From: {{ mv_mailer_from }}
Subject:
$2
Subject:
({{ ansible_fqdn }})
$2
status
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment