Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Fix removal of configs and snippets (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinghrothgar authored and jdauphant committed Dec 13, 2017
1 parent fc3a718 commit 89cc2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/remove-unwanted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

- name: Remove unwanted conf
file:
path: "{{nginx_conf_dir}}/conf.d/{{ item[1] }}.conf"
path: "{{nginx_conf_dir}}/conf.d/{{ item }}.conf"
state: absent
with_items: "{{ nginx_remove_configs }}"
notify:
- reload nginx

- name: Remove unwanted snippets
file:
path: "{{ nginx_conf_dir }}/snippets/{{ item[1] }}.conf"
path: "{{ nginx_conf_dir }}/snippets/{{ item }}.conf"
state: absent
with_items: "{{ nginx_remove_snippets }}"
notify:
Expand Down

0 comments on commit 89cc2f7

Please sign in to comment.