aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/tasks')
-rw-r--r--roles/space_server/tasks/avahi.yml2
-rw-r--r--roles/space_server/tasks/bird.yml2
-rw-r--r--roles/space_server/tasks/dhcpd.yml2
-rw-r--r--roles/space_server/tasks/gettys.yml4
-rw-r--r--roles/space_server/tasks/named.yml2
-rw-r--r--roles/space_server/tasks/nftables.yml2
-rw-r--r--roles/space_server/tasks/radius.yml4
7 files changed, 9 insertions, 9 deletions
diff --git a/roles/space_server/tasks/avahi.yml b/roles/space_server/tasks/avahi.yml
index 30e10dc..ca0cf63 100644
--- a/roles/space_server/tasks/avahi.yml
+++ b/roles/space_server/tasks/avahi.yml
@@ -50,7 +50,7 @@
command: systemctl enable avahi-daemon.service
args:
creates: '/etc/systemd/system/multi-user.target.wants/avahi-daemon.service'
- when: chroot|bool
+ when: chroot
- name: Use nss-mdns
lineinfile:
diff --git a/roles/space_server/tasks/bird.yml b/roles/space_server/tasks/bird.yml
index d61a709..4ce01eb 100644
--- a/roles/space_server/tasks/bird.yml
+++ b/roles/space_server/tasks/bird.yml
@@ -63,6 +63,6 @@
with_items:
- bird
- bird6
- when: chroot|bool
+ when: chroot
# vim: set ts=2 sw=2 et:
diff --git a/roles/space_server/tasks/dhcpd.yml b/roles/space_server/tasks/dhcpd.yml
index e591a85..79d2f0f 100644
--- a/roles/space_server/tasks/dhcpd.yml
+++ b/roles/space_server/tasks/dhcpd.yml
@@ -20,6 +20,6 @@
command: systemctl enable dhcpd.service
args:
creates: '/etc/systemd/system/multi-user.target.wants/dhcpd.service'
- when: chroot|bool
+ when: chroot
# vim: set ts=2 sw=2 et:
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:
diff --git a/roles/space_server/tasks/named.yml b/roles/space_server/tasks/named.yml
index 30ab544..93f230f 100644
--- a/roles/space_server/tasks/named.yml
+++ b/roles/space_server/tasks/named.yml
@@ -65,7 +65,7 @@
when: not chroot
- name: '- when in chroot'
command: systemctl enable named.service
- when: chroot|bool
+ when: chroot
- name: Use our own resolver
copy:
diff --git a/roles/space_server/tasks/nftables.yml b/roles/space_server/tasks/nftables.yml
index 67d0864..9c56714 100644
--- a/roles/space_server/tasks/nftables.yml
+++ b/roles/space_server/tasks/nftables.yml
@@ -37,6 +37,6 @@
command: systemctl enable nftables.service
args:
creates: '/etc/systemd/system/multi-user.target.wants/nftables.service'
- when: chroot|bool
+ when: chroot
# vim: set ts=2 sw=2 et:
diff --git a/roles/space_server/tasks/radius.yml b/roles/space_server/tasks/radius.yml
index f918052..a3f4183 100644
--- a/roles/space_server/tasks/radius.yml
+++ b/roles/space_server/tasks/radius.yml
@@ -98,7 +98,7 @@
command: systemctl enable getusers.timer
args:
creates: '/etc/systemd/system/timers.target.wants/getusers.timer'
- when: chroot|bool
+ when: chroot
- name: Create service drop-in directory
file:
@@ -127,6 +127,6 @@
command: systemctl enable radiusd.service
args:
creates: '/etc/systemd/system/multi-user.target.wants/radiusd.service'
- when: chroot|bool
+ when: chroot
# vim: set ts=2 sw=2 et: