Skip to content

Commit

Permalink
Merge pull request #95 from racke/pr/relay_without_sasl
Browse files Browse the repository at this point in the history
Skip writing of SASL password file when SASL authentication is disabled
  • Loading branch information
tersmitten authored Aug 28, 2020
2 parents 402a517 + b24702b commit 24cfb53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
owner: root
group: root
mode: 0600
when: postfix_relayhost | length
when:
- postfix_sasl_auth_enable | bool
- postfix_relayhost | length
no_log: not ansible_check_mode
notify:
- postmap sasl_passwd
Expand Down

0 comments on commit 24cfb53

Please sign in to comment.