瀏覽代碼

Using Ansible 1.9 built-in "patch" module.

merge-requests/1/merge
Christoph Haas 10 年之前
父節點
當前提交
7d7330cb1d
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      roles/ispmail-postfix/tasks/main.yml

+ 3
- 3
roles/ispmail-postfix/tasks/main.yml 查看文件

@@ -67,11 +67,11 @@
- name: Enabling SMTP authentication during the SMTP protocol - name: Enabling SMTP authentication during the SMTP protocol
command: postconf smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination command: postconf smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination


- name: Copying patch for Debuan bug \#739738
- name: Copying patch for Debian bug 739738
copy: src=spamassassin.patch dest=/tmp/spamassassin.patch copy: src=spamassassin.patch dest=/tmp/spamassassin.patch


- name: Patching Debian bug \#739738
patch: patchfile=/tmp/spamassassin.patch strip=0 basedir=/
- name: Patching Debian bug 739738
patch: src=/tmp/spamassassin.patch strip=0 basedir=/ remote_src=True


- name: Enabling Spamassassin milter - name: Enabling Spamassassin milter
command: postconf smtpd_milters=unix:/spamass/spamass.sock command: postconf smtpd_milters=unix:/spamass/spamass.sock


Loading…
取消
儲存