Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
communication
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
communication
Commits
16432793
Commit
16432793
authored
Apr 25, 2021
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
postfix: add missing conditions on templated configs
parent
cbd89e00
Branches
Branches containing commit
No related tags found
1 merge request
!16
Minimal Viable FSMPI Deployment
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
postfix/tasks/main.yml
+27
-2
27 additions, 2 deletions
postfix/tasks/main.yml
with
27 additions
and
2 deletions
postfix/tasks/main.yml
+
27
−
2
View file @
16432793
...
...
@@ -32,10 +32,35 @@
src
:
"
{{
item
}}.j2"
dest
:
"
/etc/postfix/{{
item
}}"
with_items
:
-
login_maps.pcre
-
master.cf
-
main.cf
-
postscreen_access.cidr
notify
:
-
restart postfix
tags
:
-
postfix
-
mail
-
name
:
ensure login maps list is present
template
:
src
:
"
login_maps.pcre.j2"
dest
:
"
/etc/postfix/login_maps.pcre"
when
:
-
not postfix_satellite_only
-
postfix_enable_dovecot
-
not postfix_fsmpi|default(false)
notify
:
-
restart postfix
tags
:
-
postfix
-
mail
-
name
:
ensure postscreen access list is present
template
:
src
:
"
postscreen_access.cidr.j2"
dest
:
"
/etc/postfix/postscreen_access.cidr"
when
:
-
not postfix_satellite_only
-
postfix_enable_postscreen
notify
:
-
restart postfix
tags
:
...
...
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