Skip to content

Commit

Permalink
Merge pull request debops#15 from drybjed/update-postfix-certs
Browse files Browse the repository at this point in the history
Update ca-certificates in Postfix chroot
  • Loading branch information
drybjed committed Feb 27, 2015
2 parents 0a63c35 + 421c2fc commit 7099752
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@

- name: Update ca-certificates.crt
command: update-ca-certificates
notify: [ 'Install ca-certificates.crt into Postfix chroot' ]

- name: Regenerate ca-certificates.crt
command: update-ca-certificates --fresh
notify: [ 'Install ca-certificates.crt into Postfix chroot' ]

- name: Install ca-certificates.crt into Postfix chroot
shell: test -d /var/spool/postfix &&
cp -f /etc/ssl/certs/ca-certificates.crt /var/spool/postfix/etc/ssl/certs/ca-certificates.crt || true

0 comments on commit 7099752

Please sign in to comment.