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

Commit

Permalink
configuration: allow templates for conf.d independent files (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrbr-fl authored and jdauphant committed Nov 4, 2019
1 parent 08ccfc5 commit 2124d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

- name: Create the configurations for independent config file
template:
src: config.conf.j2
src: "{{ item.value.template | default('config.conf.j2') }}"
dest: "{{ nginx_conf_dir }}/conf.d/{{ item.key }}.conf"
with_dict: "{{ nginx_configs }}"
notify:
Expand Down

0 comments on commit 2124d5f

Please sign in to comment.