virthost: fix conditional

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-07-09 22:53:05 +00:00
parent 579ba4cfc8
commit 0d9737eff6

View file

@ -125,11 +125,11 @@
# #
- name: setup nested virt on virthosts with nested=true variable (x86_64) - name: setup nested virt on virthosts with nested=true variable (x86_64)
copy: src=kvm_intel.conf dest=/etc/modprobe.d/kvm_intel.conf 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) - name: setup nested virt on virthosts with nested=true variable (s390x)
copy: src=kvm.conf dest=/etc/modprobe.d/kvm.conf 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 # On some hosts in the fedorainfracloud network we want to add some users to be able to manage