Skip to content

Commit 1443cfc

Browse files
committed
fix
1 parent 1f8e351 commit 1443cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ctf/templates/init/.deploy/cleanup.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[ ! -e /run/systemd/resolve/resolv.conf ] && exit 0
1111
rm -f /etc/resolv.conf || true
1212
cat /run/systemd/resolve/resolv.conf > /etc/resolv.conf
13-
when: nsec_production | default(False)
13+
when: nsec_production | default(False) | bool
1414
changed_when: true
1515

1616
- name: Mask most systemd units
@@ -123,7 +123,7 @@
123123
systemd-udevd.service; do
124124
ln -s /dev/null /etc/systemd/system/${i} || true
125125
done
126-
when: nsec_production | default(False)
126+
when: nsec_production | default(False) | bool
127127
changed_when: true
128128

129129
- name: Remove all cron jobs

0 commit comments

Comments
 (0)