diff --git a/tasks/robots-txt.yml b/tasks/robots-txt.yml index 0405bef..e800495 100644 --- a/tasks/robots-txt.yml +++ b/tasks/robots-txt.yml @@ -33,7 +33,7 @@ block: - name: Remove the global robots.txt file: - dest: '{{ nginx_web_root }}/robots.txt' + dest: '{{ nginx_webroot }}/robots.txt' state: absent when: not nginx_install_robots_txt