aboutsummaryrefslogtreecommitdiffstats
path: root/roles/raspbian/tasks
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/raspbian/tasks
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/raspbian/tasks')
-rw-r--r--roles/raspbian/tasks/apt.yml2
-rw-r--r--roles/raspbian/tasks/networkd.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/raspbian/tasks/apt.yml b/roles/raspbian/tasks/apt.yml
index 2d88800..f9a4115 100644
--- a/roles/raspbian/tasks/apt.yml
+++ b/roles/raspbian/tasks/apt.yml
@@ -13,6 +13,6 @@
with_items:
- apt-daily.timer
- apt-daily-upgrade.timer
- when: chroot
+ when: chroot|bool
# vim: set ts=2 sw=2 et:
diff --git a/roles/raspbian/tasks/networkd.yml b/roles/raspbian/tasks/networkd.yml
index bfff12d..c372a5c 100644
--- a/roles/raspbian/tasks/networkd.yml
+++ b/roles/raspbian/tasks/networkd.yml
@@ -3,6 +3,6 @@
file:
path: '/etc/systemd/system/dhcpcd.service.d'
state: absent
- when: use_networkd
+ when: use_networkd|bool
# vim: set ts=2 sw=2 et: