forked from LibreSchool/server-config
Simplify contentfilter checks for configuration, but correctly working.
This commit is contained in:
parent
9060457ef4
commit
c5bcc66166
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user