aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/gettys.yml
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2019-07-06 14:43:04 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2019-07-06 14:56:06 +0200
commit4f29dbb2b82f0c29bdb385741ac1852550c1e210 (patch)
tree0f69220d1a1208527e39826b8208cc7f72081b03 /roles/space_server/tasks/gettys.yml
parentfe81c24477abd25f218dde33ff6e23616a90330f (diff)
downloadlabitat-ansible-4f29dbb2b82f0c29bdb385741ac1852550c1e210.tar.gz
labitat-ansible-4f29dbb2b82f0c29bdb385741ac1852550c1e210.tar.xz
labitat-ansible-4f29dbb2b82f0c29bdb385741ac1852550c1e210.zip
roles: fix warnings about bare boolean variables
Diffstat (limited to 'roles/space_server/tasks/gettys.yml')
-rw-r--r--roles/space_server/tasks/gettys.yml4
1 files changed, 2 insertions, 2 deletions
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: