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