aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/tasks
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-14 17:16:55 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 17:16:55 +0800
commit4e4575924b61d26c9e3e0d0770fc2908ac192f7f (patch)
tree93c5440d8550dca216398c68f0d437254d6574b5 /roles/mail/tasks
parent126ad0728f1029e49e7eb5071d2a0788b239e64f (diff)
downloadansible-dfly-vps-4e4575924b61d26c9e3e0d0770fc2908ac192f7f.tar.bz2
web/acme: refactor certificates deployment
Diffstat (limited to 'roles/mail/tasks')
-rw-r--r--roles/mail/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
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