stackhpc / ansible-role-libvirt-vm

This role configures and creates VMs on a KVM hypervisor.
128 stars 67 forks source link

The error was: no test named 'eq' #8

Closed Xachman closed 5 years ago

Xachman commented 5 years ago

I got the error

The error was: no test named 'eq'

when using this role.

https://github.com/stackhpc/ansible-role-libvirt-vm/blob/master/tasks/main.yml#L7

it was related to this line.

I changed this eq to equalto and it worked. Not sure if this is an appropriate fix so I made this issue.

markgoddard commented 5 years ago

Which version of ansible and Jinja are you using?

markgoddard commented 5 years ago

I have fixed this here: https://github.com/stackhpc/ansible-role-libvirt-vm/commit/3975c10b097a29ea85cf2168287f6fd3cd7744e

Xachman commented 5 years ago

Thanks!