ansible-hessnet/roles/website/tasks/website.yml

11 lines
244 B
YAML
Raw Normal View History

2020-04-21 06:21:08 +00:00
---
- name: "Create vhost folder"
file:
path: "/usr/share/nginx/{{ domain_name }}"
state: "directory"
- name: "Unarchive website to vhost root"
unarchive:
src: "files/site.tar.gz"
dest: "/usr/share/nginx/{{ domain_name }}"