vhost file loop
This commit is contained in:
parent
29f35c9036
commit
94db1a0f5b
@ -16,11 +16,12 @@
|
|||||||
- name: Create proxy container files
|
- name: Create proxy container files
|
||||||
copy:
|
copy:
|
||||||
src: "{{ proxy_file }}"
|
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 }}"
|
owner: "{{ user.name }}"
|
||||||
group: "{{ user.name }}"
|
group: "{{ user.name }}"
|
||||||
with_items:
|
with_items:
|
||||||
- "nextcloud.vhost.conf"
|
- "nextcloud.vhost.conf"
|
||||||
|
- "nextcloud.vhost.conf_location"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: "proxy_file"
|
loop_var: "proxy_file"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user