Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
communication
Commits
c29818ef
Commit
c29818ef
authored
Mar 15, 2021
by
Lars Beckers
Browse files
spamassassin: template /etc/default/ configuration
parent
c1685591
Pipeline
#2897
passed with stage
in 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
spamassassin/tasks/main.yml
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
...
...
spamassassin/
fil
es/defaults
→
spamassassin/
templat
es/defaults
.j2
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment