From ecb6482396c969c6e0eb3e06c182c7bfb91d54fe Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Thu, 27 Feb 2020 20:01:17 +0100 Subject: roles: remove useless |bool filters This used to be a fix for some bogus warnings, but they seem to have gone in recent versions of Ansible --- 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 2d2511a..ea351f4 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|bool + when: chroot - 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|bool + when: chroot # vim: set ts=2 sw=2 et: -- cgit v1.2.1