Required kernel variant check.

This commit is contained in:
Byron McCollum 2014-09-10 07:47:43 -05:00
parent a54fc4bc04
commit c75514f27e

View File

@ -15,6 +15,14 @@
# This will check for kernel as defined in the required kernel hash
- name: Check Kernel Variant
fail:
msg: >
Wrong kernel Variant found
[ {{ ansible_kernel.split('-')[2] }} != generic ]
Resolve this issue before continuing.
when: ansible_kernel.split('-')[2] != 'generic'
- name: Check Kernel Version
fail:
msg: >