From c5bcc66166a0995ea4fc040688af2f47db66251f Mon Sep 17 00:00:00 2001
From: Emiliano Vavassori <syntaxerrormmm@gmail.com>
Date: Thu, 28 Apr 2016 03:12:18 +0200
Subject: [PATCH] Simplify contentfilter checks for configuration, but
 correctly working.

---
 roles/nethcfg/tasks/proxy.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/roles/nethcfg/tasks/proxy.yml b/roles/nethcfg/tasks/proxy.yml
index a344c0e..e90fd22 100644
--- a/roles/nethcfg/tasks/proxy.yml
+++ b/roles/nethcfg/tasks/proxy.yml
@@ -67,8 +67,7 @@
 - name: Verifying content filtering
   shell: /sbin/e-smith/db contentfilter printprop default Categories
   register: check_cf
-  ignore_errors: yes
-  changed_when: '"sex,porn" not in check_cf.stdout'
+  changed_when: "'sex' not in check_cf.stdout"
 
 - name: Configuring content filtering
   shell: /sbin/e-smith/db contentfilter setprop default Categories aggressive,alcohol,weapons,games-online,gamble,dating,webradio,webtv,sex,porn,spyware,violence,anonvpn,warez