From 0d9737eff65f931c1416c614bd18f5b0b0c4f0f1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 9 Jul 2019 22:53:05 +0000 Subject: [PATCH] virthost: fix conditional Signed-off-by: Kevin Fenzi --- roles/virthost/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/virthost/tasks/main.yml b/roles/virthost/tasks/main.yml index 9e9ca83eed..eaa897ac5a 100644 --- a/roles/virthost/tasks/main.yml +++ b/roles/virthost/tasks/main.yml @@ -125,11 +125,11 @@ # - name: setup nested virt on virthosts with nested=true variable (x86_64) copy: src=kvm_intel.conf dest=/etc/modprobe.d/kvm_intel.conf - when: nested == true and ansible_architecture is 'x86_64' + when: nested == true and ansible_architecture == 'x86_64' - name: setup nested virt on virthosts with nested=true variable (s390x) copy: src=kvm.conf dest=/etc/modprobe.d/kvm.conf - when: nested == true and ansible_architecture is 's390x' + when: nested == true and ansible_architecture == 's390x' # # On some hosts in the fedorainfracloud network we want to add some users to be able to manage