From 4f29dbb2b82f0c29bdb385741ac1852550c1e210 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Sat, 6 Jul 2019 14:43:04 +0200 Subject: roles: fix warnings about bare boolean variables --- roles/space_server/tasks/gettys.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/space_server/tasks/gettys.yml') diff --git a/roles/space_server/tasks/gettys.yml b/roles/space_server/tasks/gettys.yml index ea351f4..2d2511a 100644 --- a/roles/space_server/tasks/gettys.yml +++ b/roles/space_server/tasks/gettys.yml @@ -9,7 +9,7 @@ command: systemctl disable getty@tty1.service args: removes: '/etc/systemd/system/getty.target.wants/getty@tty1.service' - when: chroot + when: chroot|bool - name: Enable serial-getty@ttyS0 systemd: @@ -20,6 +20,6 @@ command: systemctl enable serial-getty@ttyS0.service args: creates: '/etc/systemd/system/getty.target.wants/serial-getty@ttyS0.service' - when: chroot + when: chroot|bool # vim: set ts=2 sw=2 et: -- cgit v1.2.1