vhost file loop
This commit is contained in:
parent
29f35c9036
commit
94db1a0f5b
@ -16,11 +16,12 @@
|
||||
- name: Create proxy container files
|
||||
copy:
|
||||
src: "{{ proxy_file }}"
|
||||
dest: "/home/{{ user.name }}/nginx/vhost.d/{{ inventory_hostname }}_location"
|
||||
dest: "/home/{{ user.name }}/nginx/vhost.d/{{ inventory_hostname }}"
|
||||
owner: "{{ user.name }}"
|
||||
group: "{{ user.name }}"
|
||||
with_items:
|
||||
- "nextcloud.vhost.conf"
|
||||
- "nextcloud.vhost.conf_location"
|
||||
loop_control:
|
||||
loop_var: "proxy_file"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user