I am trying to enable mongo service using ansible on my aws AMI. Here is the task for the playbook
- name: Mongodb repo yum_repository: name: mongodb