Skip to content
Permalink
Browse files

[debops.postfix] Fix fact script execution @ Py3

  • Loading branch information...
drybjed committed Aug 11, 2019
1 parent 36adcf5 commit a9fefda95c957488cf8b70ea8f6c8f91365fa507
Showing with 1 addition and 1 deletion.
  1. +1 −1 ansible/roles/debops.postfix/templates/etc/ansible/facts.d/postfix.fact.j2
@@ -37,7 +37,7 @@ except subprocess.CalledProcessError:
pass

if postconf_stdout:
output['version'] = postconf_stdout.split('-')[0]
output['version'] = postconf_stdout.decode('utf-8').split('-')[0]

if postfix_doc_status == 'installed':
output['doc_installed'] = True

0 comments on commit a9fefda

Please sign in to comment.
You can’t perform that action at this time.