{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2063","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2063/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2063/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2063/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/2063","id":149581372,"number":2063,"title":"yumrepo listed in Ansible module packaging documentation, but not shipped in epel package","user":{"login":"ahuffman","id":4340269,"avatar_url":"https://avatars.githubusercontent.com/u/4340269?v=3","gravatar_id":"","url":"https://api.github.com/users/ahuffman","html_url":"https://github.com/ahuffman","followers_url":"https://api.github.com/users/ahuffman/followers","following_url":"https://api.github.com/users/ahuffman/following{/other_user}","gists_url":"https://api.github.com/users/ahuffman/gists{/gist_id}","starred_url":"https://api.github.com/users/ahuffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahuffman/subscriptions","organizations_url":"https://api.github.com/users/ahuffman/orgs","repos_url":"https://api.github.com/users/ahuffman/repos","events_url":"https://api.github.com/users/ahuffman/events{/privacy}","received_events_url":"https://api.github.com/users/ahuffman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-19T20:55:12Z","updated_at":"2016-04-20T20:15:15Z","closed_at":"2016-04-20T20:06:47Z","body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n - Bug Report\r\n - Documentation Report\r\n\r\n##### COMPONENT NAME\r\nyumrepo\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.0.1.0\r\n```\r\n\r\n##### CONFIGURATION\r\nforks=50\r\nscp_if_ssh = True\r\n\r\n\r\n##### OS / ENVIRONMENT\r\nRHEL7\r\n\r\n##### SUMMARY\r\nTrying to use the yumrepo module in a role, but getting error: \r\nERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.\r\n\r\nThis corresponds to the task trying to make use of the yumrepo module.\r\n\r\n##### STEPS TO REPRODUCE\r\n```\r\n- name: Setup CentOS7-Extras Repository for cockpit-kubernetes\r\n  yum_repository:\r\n    file: centos7-extras.repo\r\n    name: centos7-extras\r\n    description: CentOS7 - Extras\r\n    baseurl: http://mirror.centos.org/centos/7/extras/x86_64/\r\n    enabled: yes\r\n    gpgcheck: yes\r\n    gpgkey: http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7\r\n    includepkgs: cockpit-kubernetes\r\n  when: k8s_cockpit == 'yes'\r\n```\r\n\r\n##### EXPECTED RESULTS\r\nA yumrepo would be created on the selected host.\r\n\r\n##### ACTUAL RESULTS\r\nERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.\r\n\r\nThe error appears to have been in '/etc/ansible/roles/k8s-master/tasks/main.yml': line 12, column 3, but may\r\nbe elsewhere in the file depending on the exact syntax problem.\r\n\r\nThe offending line appears to be:\r\n\r\n\r\n- name: 'Setup CentOS7-Extras Repository for cockpit-kubernetes'\r\n  ^ here"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/212585582","html_url":"https://github.com/ansible/ansible-modules-extras/issues/2063#issuecomment-212585582","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2063","id":212585582,"user":{"login":"Collin-Molnar","id":11789936,"avatar_url":"https://avatars.githubusercontent.com/u/11789936?v=3","gravatar_id":"","url":"https://api.github.com/users/Collin-Molnar","html_url":"https://github.com/Collin-Molnar","followers_url":"https://api.github.com/users/Collin-Molnar/followers","following_url":"https://api.github.com/users/Collin-Molnar/following{/other_user}","gists_url":"https://api.github.com/users/Collin-Molnar/gists{/gist_id}","starred_url":"https://api.github.com/users/Collin-Molnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Collin-Molnar/subscriptions","organizations_url":"https://api.github.com/users/Collin-Molnar/orgs","repos_url":"https://api.github.com/users/Collin-Molnar/repos","events_url":"https://api.github.com/users/Collin-Molnar/events{/privacy}","received_events_url":"https://api.github.com/users/Collin-Molnar/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T20:15:15Z","updated_at":"2016-04-20T20:15:15Z","body":"bcoca,\r\n\r\nWhen will version 2.1 be available? That's the version the docs state that yum_repository will be shipped with ansible, but the latest version available via pip is 2.0.0.2. "}}