As per yum module documents it state only support 'present, absent and latest'

Current intro doc is pointing older way of using yum module.
Yum module documents -> http://docs.ansible.com/yum_module.html