diff --git a/roles/cups/tasks/nginx.yml b/roles/cups/tasks/nginx.yml index 0e93f08ff..25ee45b8c 100644 --- a/roles/cups/tasks/nginx.yml +++ b/roles/cups/tasks/nginx.yml @@ -6,7 +6,7 @@ - name: Disable http://box/print via NGINX, by removing {{ nginx_conf_dir }}/cups.conf file: - path: "{{ nginx_conf_dir }}/cups.conf" # /etc/nginx/conf.d + path: /etc/nginx/conf.d/cups.conf state: absent when: not cups_enabled