Fix the name of a variable.

This commit is contained in:
Andrea Dell'Amico 2022-05-01 17:12:47 +02:00
parent a5045c6f94
commit e9936c3451
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 3 deletions

View File

@ -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