Skip to content

Commit

Permalink
Skip writing of SASL password file when SASL authentication is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Aug 19, 2020
1 parent 80f4860 commit b24702b
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 b24702b

Please sign in to comment.