Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
211fc043
Verified
Commit
211fc043
authored
Jun 12, 2020
by
Frederik Schwan
Committed by
Sven-Hendrik Haase
Jun 17, 2020
Browse files
fix E602 'Don’t compare to empty string'
parent
eb80c0f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/postfix/tasks/main.yml
View file @
211fc043
...
...
@@ -73,13 +73,13 @@
-
compat_maps.db
-
name
:
install extra packages for relaying via smarthost
when
:
postfix_relayhost
!= ""
when
:
postfix_relayhost
| length >
0
package
:
name
:
cyrus-sasl
state
:
present
-
name
:
install relay_passwords file
when
:
postfix_relayhost
!= ""
when
:
postfix_relayhost
| length >
0
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
!= ""
when
:
postfix_relayhost
| length >
0
user
:
name
:
"
{{
inventory_hostname_short
}}"
comment
:
"
SMTP
Relay
Account
for
{{
inventory_hostname
}}"
...
...
Write
Preview
Supports
Markdown
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