proxy files work
This commit is contained in:
parent
da62290e32
commit
5828cdd570
@ -15,15 +15,18 @@
|
||||
|
||||
- name: Create proxy container files
|
||||
copy:
|
||||
src: "{{ proxy_file }}"
|
||||
src: "nextcloud.vhost.conf"
|
||||
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"
|
||||
|
||||
- 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
|
||||
template:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user