aboutsummaryrefslogtreecommitdiffstats
path: root/roles/web/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/web/tasks
parent126ad0728f1029e49e7eb5071d2a0788b239e64f (diff)
downloadansible-dfly-vps-4e4575924b61d26c9e3e0d0770fc2908ac192f7f.tar.bz2
web/acme: refactor certificates deployment
Diffstat (limited to 'roles/web/tasks')
-rw-r--r--roles/web/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml
index d554db1..b45e0ec 100644
--- a/roles/web/tasks/main.yml
+++ b/roles/web/tasks/main.yml
@@ -71,6 +71,13 @@
mode: 0755
with_fileglob:
- "acme/*.sh"
+ tags: acme
+
+- name: acme - copy deployment scripts
+ copy:
+ src: acme/deploy.d/ # note the trailing '/'
+ dest: /usr/local/etc/acme/deploy.d/
+ tags: acme
- name: (local) acme - check account private key existence
become: false