yum module - releasever option not working

Latest response

Hi,

I am using the yum module to lock the release version for a RHEL 7.6 machine to 7.7 version. However the playbook runs successfully and does not set the release version to 7.7. Also tried locking the version for RHEL 7.7 to releasever: '7.7' which does not work either and says 'Release not set'.

  • name: installing updated packages
    yum:
    name: '*'
    state: latest
    releasever: '7.7'

Responses