From 1d025d1f35c1fdcb8359a17d59d9c17f2e544602 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 15 Jul 2015 15:42:32 +0200 Subject: [PATCH] Moving files --- files/{ => web}/index.html | 0 files/{ => web}/index.php | 0 tasks/vhost.yml | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename files/{ => web}/index.html (100%) rename files/{ => web}/index.php (100%) diff --git a/files/index.html b/files/web/index.html similarity index 100% rename from files/index.html rename to files/web/index.html diff --git a/files/index.php b/files/web/index.php similarity index 100% rename from files/index.php rename to files/web/index.php diff --git a/tasks/vhost.yml b/tasks/vhost.yml index 86093b0..8308510 100644 --- a/tasks/vhost.yml +++ b/tasks/vhost.yml @@ -24,7 +24,7 @@ #- name: COPY | Add index.html / index.php # copy: src={{ item }} dest={{ nginx_root }}/{{ item.name }}/public/{{ item }} owner=www-data group=www-data mode=0666 -# with_fileglob: "*" +# with_fileglob: "web/*" - name: FILE | Enable vhosts (symlink to sites-enabled) file: src=/etc/nginx/sites-available/{{ item.name }} dest=/etc/nginx/sites-enabled/{{ item.name }} state=link