Added roles/server/static
parent
f20776e1bd
commit
3fbead1377
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# domain: example.com
|
||||||
|
# repo: git@example.com:namespace/repo.git
|
||||||
|
root_directory: "{{ global_webservers_directory }}/{{ domain }}"
|
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- role: nginx/static
|
||||||
|
- role: git_auto_update
|
||||||
|
name: "{{ domain }}"
|
||||||
|
dest: "{{ root_directory }}"
|
||||||
|
owner: root
|
||||||
|
group: "{{ nginx_system_user }}"
|
||||||
|
mode: "u=rwx,g=rx"
|
Loading…
Reference in New Issue