mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-03 12:12:10 +07:00
Moving files
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#- name: COPY | Add index.html / index.php
|
#- 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
|
# 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)
|
- 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
|
file: src=/etc/nginx/sites-available/{{ item.name }} dest=/etc/nginx/sites-enabled/{{ item.name }} state=link
|
||||||
|
|||||||
Reference in New Issue
Block a user