diff --git a/tasks/configuration.yml b/tasks/configuration.yml index 129564b..2048e8e 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -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: