portainer: copy nginx conf

This commit is contained in:
Lukáš Kucharczyk 2021-06-20 23:26:54 +02:00
parent 1ad9787b17
commit f5824a5ffe
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 7 additions and 1 deletions

View File

@ -11,3 +11,9 @@
- "8000:8000" - "8000:8000"
- "9000:9000" - "9000:9000"
state: started state: started
- name: copy nginx conf
template:
src: portainer.conf.j2
dest: "{{ data_folder }}/nginx/conf.d/{{ role_name }}.{{ base_domain }}.conf"
mode: "755"
notify: reload nginx