Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
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
Nounous
Ansible
Commits
ae163d6b
Verified
Commit
ae163d6b
authored
4 years ago
by
ynerant
Browse files
Options
Downloads
Patches
Plain Diff
[nullmailer] Define allmailfrom to always send mails as root
Signed-off-by:
Yohann D'ANELLO
<
ynerant@crans.org
>
parent
601a5213
No related branches found
Branches containing commit
No related tags found
1 merge request
!216
Belenios
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
group_vars/all/nullmailer.yml
+1
-0
1 addition, 0 deletions
group_vars/all/nullmailer.yml
roles/nullmailer/tasks/main.yml
+6
-0
6 additions, 0 deletions
roles/nullmailer/tasks/main.yml
with
7 additions
and
0 deletions
group_vars/all/nullmailer.yml
+
1
−
0
View file @
ae163d6b
...
...
@@ -3,3 +3,4 @@ glob_nullmailer:
root
:
root@crans.org
smtp_server
:
smtp.adm.crans.org
defaulthost
:
crans.org
allmailfrom
:
root@crans.org
This diff is collapsed.
Click to expand it.
roles/nullmailer/tasks/main.yml
+
6
−
0
View file @
ae163d6b
...
...
@@ -26,3 +26,9 @@
content
:
"
{{
nullmailer.defaulthost
}}
\n
"
dest
:
/etc/nullmailer/defaulthost
mode
:
0644
-
name
:
Set nullmailer allmailfrom
copy
:
content
:
"
{{
nullmailer.allmailfrom
}}
\n
"
dest
:
/etc/nullmailer/allmailfrom
mode
:
0644
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