nginx test
This commit is contained in:
1 parent
bebfcca19f
commit
b843fc68af
4 files changed
+183
-6
No files matched your search
+8
-2
@@ -7,11 +7,17 @@
|
||||
with_items:
|
||||
- "webroot"
|
||||
- "nginx/certs"
|
||||
- "nginx/html"
|
||||
- "nginx/vhost.d"
|
||||
- "nginx/conf.d"
|
||||
loop_control:
|
||||
loop_var: "subdir"
|
||||
|
||||
- name: Create NGINX Conf File
|
||||
template:
|
||||
src: "default.conf.j2"
|
||||
dest: "/home/{{ user.name }}/nginx/conf.d/default.conf"
|
||||
owner: "{{ user.name }}"
|
||||
group: "{{ user.name }}"
|
||||
|
||||
- name: Create Compose File
|
||||
template:
|
||||
src: "docker-compose.yml.j2"
|
||||
|
||||
Reference in new issue
Block a user