diff options
Diffstat (limited to 'roles/mail')
-rw-r--r-- | roles/mail/files/acme/dovecot | 6 | ||||
-rw-r--r-- | roles/mail/files/acme/postfix | 6 | ||||
-rw-r--r-- | roles/mail/tasks/main.yml | 8 |
3 files changed, 20 insertions, 0 deletions
diff --git a/roles/mail/files/acme/dovecot b/roles/mail/files/acme/dovecot new file mode 100644 index 0000000..367ec0b --- /dev/null +++ b/roles/mail/files/acme/dovecot @@ -0,0 +1,6 @@ +#!/bin/sh +# +# ACME deployment script +# + +reload dovecot diff --git a/roles/mail/files/acme/postfix b/roles/mail/files/acme/postfix new file mode 100644 index 0000000..c3cc92d --- /dev/null +++ b/roles/mail/files/acme/postfix @@ -0,0 +1,6 @@ +#!/bin/sh +# +# ACME deployment script +# + +reload postfix diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index 968dd2b..c243a36 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -189,3 +189,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/*" + tags: acme |