Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit 2124d5f

Browse files
paulrbr-fljdauphant
authored andcommitted
configuration: allow templates for conf.d independent files (#238)
1 parent 08ccfc5 commit 2124d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/configuration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
- name: Create the configurations for independent config file
5454
template:
55-
src: config.conf.j2
55+
src: "{{ item.value.template | default('config.conf.j2') }}"
5656
dest: "{{ nginx_conf_dir }}/conf.d/{{ item.key }}.conf"
5757
with_dict: "{{ nginx_configs }}"
5858
notify:

0 commit comments

Comments
 (0)