proxy files work
This commit is contained in:
parent
da62290e32
commit
5828cdd570
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user