Add configuration for primary vds
This commit is contained in:
15
ansible/roles/site-anwinged/tasks/main.yml
Executable file
15
ansible/roles/site-anwinged/tasks/main.yml
Executable file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Create nginx config
|
||||
template:
|
||||
src: site.conf.j2
|
||||
dest: /etc/nginx/sites-enabled/anwinged.conf
|
||||
notify: restart nginx
|
||||
|
||||
- name: Create root folder
|
||||
file:
|
||||
path: /var/www/anwinged
|
||||
state: directory
|
||||
owner: deployer
|
||||
group: www-data
|
||||
recurse: yes
|
||||
notify: restart nginx
|
Reference in New Issue
Block a user