mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Moving files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user