Update ansible version

I have install ansible with yum install ansible in my Centos7 and install Ansible 2.4 version. I need Ansible 2.7. How is it done?

Setup epel repository and update it to the latest version.