greatbn

ansible_kernel_compare

Jan 1st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - fail:
  2.     msg: "Current scini.ko seems to be incompatible with your kernel. Please upgrade your kernel version. Try command apt-get update && apt-get install linux-image-4.4.0-31-generic"
  3.   when: "{{ ansible_kernel | version_compare('4.4.0-31-generic', '<') }}"
Add Comment
Please, Sign In to add comment