base / blocklist: use bool filter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
9bdfc98497
commit
3200014f8f
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@
|
||||||
- base
|
- base
|
||||||
- iptables
|
- iptables
|
||||||
- blocklist
|
- blocklist
|
||||||
when: "'iad2' not in inventory_hostname or external is true"
|
when: "'iad2' not in inventory_hostname or external | bool "
|
||||||
|
|
||||||
- name: setup blocklist update cron job
|
- name: setup blocklist update cron job
|
||||||
cron:
|
cron:
|
||||||
|
@ -177,7 +177,7 @@
|
||||||
minute: 15
|
minute: 15
|
||||||
hour: "*/2"
|
hour: "*/2"
|
||||||
job: /usr/local/bin/blocklist-update.sh
|
job: /usr/local/bin/blocklist-update.sh
|
||||||
when: "'iad2' not in inventory_hostname or external is true"
|
when: "'iad2' not in inventory_hostname or external | bool"
|
||||||
tags:
|
tags:
|
||||||
- base
|
- base
|
||||||
- iptables
|
- iptables
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue