base / blocklist: use bool filter

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-08-15 16:15:44 -07:00
parent 9bdfc98497
commit 3200014f8f

View file

@ -168,7 +168,7 @@
- base
- iptables
- 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
cron:
@ -177,7 +177,7 @@
minute: 15
hour: "*/2"
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:
- base
- iptables