From fcf29534bac957c5bba2ee04f835b27f8b8f1704 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Fri, 14 Oct 2016 19:58:55 +0300 Subject: [PATCH] the proxixy filter rules disabled #93 --- roles/proxy/tasks/main.yml | 5 ++++- roles/proxy/templates/default.filter.j2 | 0 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 roles/proxy/templates/default.filter.j2 diff --git a/roles/proxy/tasks/main.yml b/roles/proxy/tasks/main.yml index 81dbcab..fc3af8b 100644 --- a/roles/proxy/tasks/main.yml +++ b/roles/proxy/tasks/main.yml @@ -5,7 +5,10 @@ apt: name=privoxy state=latest - name: Privoxy configured - template: src=privoxy_config.j2 dest=/etc/privoxy/config + template: src="{{ item.src }}" dest="{{ item.dest }}" + with_items: + - { src: privoxy_config.j2, dest: /etc/privoxy/config } + - { src: default.filter.j2, dest: /etc/privoxy/default.filter } notify: - restart privoxy diff --git a/roles/proxy/templates/default.filter.j2 b/roles/proxy/templates/default.filter.j2 new file mode 100644 index 0000000..e69de29