Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
777de469
Commit
777de469
authored
Mar 15, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postfix: add ssl-keys reload hook
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
40e67900
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
roles/postfix/tasks/main.yml
roles/postfix/tasks/main.yml
+8
-0
roles/postfix/templates/reload-postfix
roles/postfix/templates/reload-postfix
+7
-0
No files found.
roles/postfix/tasks/main.yml
View file @
777de469
...
...
@@ -36,3 +36,11 @@
-
access.db
-
generic
-
generic.db
-
name
:
Add an hook to reload postfix when there are new ssl keys
template
:
src
:
reload-postfix
dest
:
"
{{
ssl_home
}}/hooks"
mode
:
0755
owner
:
root
group
:
ssl-cert
roles/postfix/templates/reload-postfix
0 → 100644
View file @
777de469
#
# {{ ansible_managed }}
#
if [ "$1" = "$(hostname -f)" ]; then
sudo service postfix reload
fi
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