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
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue