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