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