Skip to content

Commit

Permalink
use correct path for vhosts
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Hoglund committed Apr 12, 2017
1 parent 3593619 commit 722c304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/vhosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- name: Remove un-managed config files
file:
path: "{{nginx_conf_path}}/{{item}}.conf"
path: "{{item}}"
state: absent
with_items: "{{all_nginx_vhost_confs.files | default([]) | map(attribute='path') | list}}"
when: (item | basename | splitext | first) not in (nginx_vhosts | map(attribute='name') | list)
Expand Down

0 comments on commit 722c304

Please sign in to comment.