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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
communication
Commits
c29818ef
Commit
c29818ef
authored
4 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
spamassassin: template /etc/default/ configuration
parent
c1685591
Branches
Branches containing commit
No related tags found
1 merge request
!15
Bullseye Compatibility
Pipeline
#2897
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
spamassassin/tasks/main.yml
+2
-2
2 additions, 2 deletions
spamassassin/tasks/main.yml
spamassassin/templates/defaults.j2
+7
-0
7 additions, 0 deletions
spamassassin/templates/defaults.j2
with
9 additions
and
2 deletions
spamassassin/tasks/main.yml
+
2
−
2
View file @
c29818ef
...
...
@@ -22,8 +22,8 @@
-
spamassassin
-
name
:
ensure spamassassin is enabled -- the nasty debian way
copy
:
src
:
defaults
template
:
src
:
defaults
.j2
dest
:
/etc/default/spamassassin
owner
:
root
group
:
root
...
...
This diff is collapsed.
Click to expand it.
spamassassin/
fil
es/defaults
→
spamassassin/
templat
es/defaults
.j2
+
7
−
0
View file @
c29818ef
...
...
@@ -4,11 +4,18 @@
# WARNING: please read README.spamd before using.
# There may be security risks.
{% if ansible_distribution_major_version|int(default=99) < 11 %}
# If you're using systemd (default for jessie), the ENABLED setting is
# not used. Instead, enable spamd by issuing:
# systemctl enable spamassassin.service
# Change to "1" to enable spamd on systems using sysvinit:
ENABLED=1
{% else %}
# Prior to version 3.4.2-1, spamd could be enabled by setting
# ENABLED=1 in this file. This is no longer supported. Instead, please
# use the update-rc.d command, invoked for example as "update-rc.d
# spamassassin enable", to enable the spamd service.
{% endif %}
# Options
# See man spamd for possible options. The -d option is automatically added.
...
...
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