{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/11421","labels_url":"https://api.github.com/repos/ansible/ansible/issues/11421/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/11421/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/11421/events","html_url":"https://github.com/ansible/ansible/issues/11421","id":91836807,"number":11421,"title":"Group module fails","user":{"login":"xrow","id":295491,"avatar_url":"https://avatars.githubusercontent.com/u/295491?v=3","gravatar_id":"","url":"https://api.github.com/users/xrow","html_url":"https://github.com/xrow","followers_url":"https://api.github.com/users/xrow/followers","following_url":"https://api.github.com/users/xrow/following{/other_user}","gists_url":"https://api.github.com/users/xrow/gists{/gist_id}","starred_url":"https://api.github.com/users/xrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrow/subscriptions","organizations_url":"https://api.github.com/users/xrow/orgs","repos_url":"https://api.github.com/users/xrow/repos","events_url":"https://api.github.com/users/xrow/events{/privacy}","received_events_url":"https://api.github.com/users/xrow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T15:27:04Z","updated_at":"2015-07-02T18:15:29Z","closed_at":null,"body":"Hi,\r\n\r\nthe group module seems to not work right. I am using centos 7. The expected result is that it wouldn't fail since the group is properly present. The group was added by ´yum install docker´ \r\n\r\nTask:\r\n```yaml\r\n- group: name=dockerroot state=present gid=989\r\n```\r\n\r\nSample\r\n```bash\r\nTASK: [newrelic | Configure New Relic Sysmond] ******************************** \r\nchanged: [192.168.0.244]\r\n\r\nTASK: [newrelic | group name=dockerroot state=present gid=989] **************** \r\nfailed: [192.168.0.244] => {\"failed\": true, \"name\": \"dockerroot\"}\r\nmsg: groupmod: GID '989' already exists\r\n\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ******************************************************************** \r\n           to retry, use: --limit @/root/vmbuilder.retry\r\n\r\n192.168.0.244              : ok=73   changed=17   unreachable=0    failed=1   \r\n\r\n[root@172-17-42-1 ~]# ansible-playbook --version\r\nansible-playbook 1.9.0.1\r\n  configured module search path = None\r\n[root@172-17-42-1 ~]# grep -i \"989\" /etc/group  \r\ndockerroot:x:989:newrelic\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/118114302","html_url":"https://github.com/ansible/ansible/issues/11421#issuecomment-118114302","issue_url":"https://api.github.com/repos/ansible/ansible/issues/11421","id":118114302,"user":{"login":"jhitt25","id":11196566,"avatar_url":"https://avatars.githubusercontent.com/u/11196566?v=3","gravatar_id":"","url":"https://api.github.com/users/jhitt25","html_url":"https://github.com/jhitt25","followers_url":"https://api.github.com/users/jhitt25/followers","following_url":"https://api.github.com/users/jhitt25/following{/other_user}","gists_url":"https://api.github.com/users/jhitt25/gists{/gist_id}","starred_url":"https://api.github.com/users/jhitt25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhitt25/subscriptions","organizations_url":"https://api.github.com/users/jhitt25/orgs","repos_url":"https://api.github.com/users/jhitt25/repos","events_url":"https://api.github.com/users/jhitt25/events{/privacy}","received_events_url":"https://api.github.com/users/jhitt25/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T18:15:29Z","updated_at":"2015-07-02T18:15:29Z","body":"Verified also an issue on Oracle Linux 7, Ansible 1.9.1\r\n```\r\nansible> cat /etc/os-release\r\nNAME=\"Oracle Linux Server\"\r\nVERSION=\"7.1\"\r\nID=\"ol\"\r\nVERSION_ID=\"7.1\"\r\nPRETTY_NAME=\"Oracle Linux Server 7.1\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:oracle:linux:7:1\"\r\nHOME_URL=\"https://linux.oracle.com/\"\r\nBUG_REPORT_URL=\"https://bugzilla.oracle.com/\"\r\n\r\nORACLE_BUGZILLA_PRODUCT=\"Oracle Linux 7\"\r\nORACLE_BUGZILLA_PRODUCT_VERSION=7.1\r\nORACLE_SUPPORT_PRODUCT=\"Oracle Linux\"\r\nORACLE_SUPPORT_PRODUCT_VERSION=7.1\r\nansible> ansible-playbook --version\r\nansible-playbook 1.9.1\r\n  configured module search path = None\r\n```"}}