yumrepo was renamed to yum_repository somewhat recently.
You will need to use yum_repository instead. My guess is the docs haven't
been updated yet.
On Sunday, March 20, 2016, Aaron Axisa wrote:
>
> I am trying to use yumrepo
> https://docs.ansible.com/ansible/yumrepo_module.html
> and it state
I am trying to use yumrepo
https://docs.ansible.com/ansible/yumrepo_module.html
and it states that it is new in version 2.1
So i went ahead and updated ansible on my ansible tower machine:
sudo yum -y install git asciidoc rpm-build python2-devel
cd ~
git clone git://github.com/ansible/ansible.g