Wrong variable name.

This commit is contained in:
Andrea Dell'Amico 2021-07-07 14:19:44 +02:00
parent 119a8578ec
commit e4420f6a66
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -4,12 +4,12 @@
- name: Install a robots.txt into the global webroot
template:
src: robots.txt.j2
dest: '{{ nginx_web_root }}/robots.txt'
dest: '{{ nginx_webroot }}/robots.txt'
owner: root
group: root
mode: 0444
when: nginx_install_robots_txt | bool
when: nginx_install_robots_txt
tags: [ 'nginx', 'robots_txt' ]
- name: Install a virtualhost specific robots.txt