proxy files work

This commit is contained in:
Mike Holloway 2025-12-07 02:20:26 -05:00
parent da62290e32
commit 5828cdd570

View File

@ -15,15 +15,18 @@
- name: Create proxy container files - name: Create proxy container files
copy: copy:
src: "{{ proxy_file }}" src: "nextcloud.vhost.conf"
dest: "/home/{{ user.name }}/nginx/vhost.d/{{ inventory_hostname }}" dest: "/home/{{ user.name }}/nginx/vhost.d/{{ inventory_hostname }}"
owner: "{{ user.name }}" owner: "{{ user.name }}"
group: "{{ user.name }}" group: "{{ user.name }}"
with_items:
- "nextcloud.vhost.conf"
- "nextcloud.vhost.conf_location" - "nextcloud.vhost.conf_location"
loop_control:
loop_var: "proxy_file" - copy:
src: "nextcloud.vhost.conf_location"
dest: "/home/{{ user.name }}/nginx/vhost.d/{{ inventory_hostname }}_location"
owner: "{{ user.name }}"
group: "{{ user.name }}"
- name: Create Compose File - name: Create Compose File
template: template: