Fix nginx template snippets not being copied
This commit is contained in:
parent
60cb099b4b
commit
87853b9fde
|
@ -31,7 +31,7 @@
|
||||||
dest: "{{ data_folder }}/nginx/snippets/{{ item | basename | regex_replace('.j2$', '') }}"
|
dest: "{{ data_folder }}/nginx/snippets/{{ item | basename | regex_replace('.j2$', '') }}"
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "../templates/snippets/*.conf"
|
- "../templates/snippets/*.conf.j2"
|
||||||
- name: run container
|
- name: run container
|
||||||
docker_container:
|
docker_container:
|
||||||
name: 'nginx'
|
name: 'nginx'
|
||||||
|
|
Loading…
Reference in New Issue