Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
499209c1
Verified
Commit
499209c1
authored
May 28, 2020
by
Jan Alexander Steffens (heftig)
Browse files
postfix: Fix postfix_relayhost condition
The 'bool' filter only accepts some strings.
parent
7614beee
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/postfix/tasks/main.yml
View file @
499209c1
...
...
@@ -73,13 +73,13 @@
-
compat_maps.db
-
name
:
install extra packages for relaying via smarthost
when
:
postfix_relayhost
|bool
when
:
postfix_relayhost
!= ""
package
:
name
:
cyrus-sasl
state
:
present
-
name
:
install relay_passwords file
when
:
postfix_relayhost
|bool
when
:
postfix_relayhost
!= ""
template
:
src
:
relay_passwords.j2
dest
:
/etc/postfix/relay_passwords
...
...
@@ -91,7 +91,7 @@
-
name
:
create user account on orion to relay with
delegate_to
:
orion.archlinux.org
when
:
postfix_relayhost
|bool
when
:
postfix_relayhost
!= ""
user
:
name
:
"
{{inventory_hostname_short}}"
comment
:
"
SMTP
Relay
Account
for
{{inventory_hostname}}"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment