diff options
Diffstat (limited to 'roles/mail/tasks')
-rw-r--r-- | roles/mail/tasks/main.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index 3379151..a9f6daa 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -183,10 +183,11 @@ - name: postfix - start service command: rcstart postfix -- name: acme - copy deployment scripts - copy: - src: "{{ item }}" - dest: /usr/local/etc/acme/deploy.d/{{ item | basename }} - with_fileglob: - - "acme/*" +- name: acme - add mail services to deploy + blockinfile: + path: "{{ web.acme_home }}/deploy.local.sh" + marker: "# {mark} ANSIBLE MANAGED - mail" + block: | + service dovecot reload + service postfix reload tags: acme |