vhost file loop

This commit is contained in:
Mike Holloway 2025-12-07 01:59:12 -05:00
parent 29f35c9036
commit 94db1a0f5b

View File

@ -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"