From e9936c3451a0d7c40adc0bb0bd0ca5d35765c56a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sun, 1 May 2022 17:12:47 +0200 Subject: [PATCH] Fix the name of a variable. --- tasks/nginx-config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/nginx-config.yml b/tasks/nginx-config.yml index 454318b..fa91a65 100644 --- a/tasks/nginx-config.yml +++ b/tasks/nginx-config.yml @@ -25,14 +25,14 @@ - name: Download any remote snippet templates get_url: url: '{{ item.url }}' - dest: '/var/tmp/{{ item.file }}' + dest: '/var/tmp/{{ item.name }}' loop: '{{ nginx_conf_remote_snippets }}' delegate_to: 'localhost' - name: Install any remote snippet configuration file template: - src: '/var/tmp/{{ item.file }}' - dest: '/etc/nginx/snippets/{{ item }}' + src: '/var/tmp/{{ item.name }}' + dest: '/etc/nginx/snippets/{{ item.name }}' owner: root group: root mode: 0444