Ansible 'version' is a test not a filter.
The previously used syntax worked on ansible < 2.9, but now it is invalid and fails. Change-Id: Ic8fc9327e6814d310d862ab3ce8d323f30faa359
This commit is contained in:
parent
ee07912fdf
commit
303e5c44ae
|
@ -55,7 +55,7 @@
|
|||
msg: "Using overlayfs is not recommended when using Kernel version < 3.18"
|
||||
when:
|
||||
- lxc_container_backing_store == "overlayfs"
|
||||
- hostvars[physical_host]['ansible_kernel'] | version('3.18.0-0-generic', '<')
|
||||
- hostvars[physical_host]['ansible_kernel'] is version('3.18.0-0-generic', '<')
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
|
Loading…
Reference in New Issue