aboutsummaryrefslogtreecommitdiffstats
path: root/roles/web/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/web/tasks')
-rw-r--r--roles/web/tasks/main.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml
index c1d6b17..d554db1 100644
--- a/roles/web/tasks/main.yml
+++ b/roles/web/tasks/main.yml
@@ -30,7 +30,7 @@
- name: nginx - copy conf.d/ config directory
copy:
- src: conf.d/ # trailing '/' -> directory contents
+ src: nginx/conf.d/ # trailing '/' -> directory contents
dest: /usr/local/etc/nginx/conf.d/
- name: nginx - create sites/ directory
@@ -43,7 +43,7 @@
- name: nginx - copy nginx.conf
copy:
- src: nginx.conf
+ src: nginx/nginx.conf
dest: /usr/local/etc/nginx/nginx.conf
# XXX: Validation runs aganist a temporary file, thus nginx fails to
# include other config files!
@@ -69,9 +69,8 @@
src: "{{ item }}"
dest: /usr/local/etc/acme/{{ item | basename }}
mode: 0755
- with_items:
- - acme-client.sh
- - deploy.sh
+ with_fileglob:
+ - "acme/*.sh"
- name: (local) acme - check account private key existence
become: false