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
7c868b0d
Commit
7c868b0d
authored
Mar 15, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postfix: fix handlers
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
9da8513f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
roles/postfix/handlers/main.yml
roles/postfix/handlers/main.yml
+3
-3
roles/postfix/tasks/main.yml
roles/postfix/tasks/main.yml
+4
-4
No files found.
roles/postfix/handlers/main.yml
View file @
7c868b0d
...
...
@@ -2,11 +2,11 @@
-
name
:
newaliases
command
:
newaliases
-
name
:
hash
-
name
:
postfix.
hash
command
:
postmap hash:/etc/postfix/{{ item }}
with_items
:
"
{{
hash_tables
}}"
# keep this last, so it'll be executed last
-
name
:
restart postfix
service
:
name=postfix
@-
state=restarted
-
name
:
postfix.restart
service
:
name=postfix state=restarted
roles/postfix/tasks/main.yml
View file @
7c868b0d
...
...
@@ -10,17 +10,17 @@
-
name
:
Install postfix master conf
template
:
src=master.cf dest=/etc/postfix/master.cf owner=root group=root mode=0644
notify
:
restart postfix
notify
:
postfix.restart
-
name
:
Install postfix main conf
template
:
src=main.cf dest=/etc/postfix/main.cf owner=root group=root mode=0644
notify
:
restart postfix
notify
:
postfix.restart
-
name
:
Install several postfix hash tables
template
:
src={{ item }} dest=/etc/postfix/{{ item }} owner=root group=root mode=0644
notify
:
-
hash
-
restart postfix
-
postfix.
hash
-
postfix.restart
with_items
:
"
{{
hash_tables
}}"
-
name
:
Install the aliases file
...
...
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