{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1063","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1063/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1063/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/1063","id":109981990,"number":1063,"title":"nmcli aborting with exception when trying to create a new connection","user":{"login":"jensschroer","id":9363016,"avatar_url":"https://avatars.githubusercontent.com/u/9363016?v=3","gravatar_id":"","url":"https://api.github.com/users/jensschroer","html_url":"https://github.com/jensschroer","followers_url":"https://api.github.com/users/jensschroer/followers","following_url":"https://api.github.com/users/jensschroer/following{/other_user}","gists_url":"https://api.github.com/users/jensschroer/gists{/gist_id}","starred_url":"https://api.github.com/users/jensschroer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensschroer/subscriptions","organizations_url":"https://api.github.com/users/jensschroer/orgs","repos_url":"https://api.github.com/users/jensschroer/repos","events_url":"https://api.github.com/users/jensschroer/events{/privacy}","received_events_url":"https://api.github.com/users/jensschroer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T10:44:40Z","updated_at":"2015-10-07T13:01:27Z","closed_at":null,"body":"***Issue Type:***\r\n    Bug Report\r\n\r\n***Ansible Version:***\r\nansible 2.0.0 (devel d9b79b1bbc) last updated 2015/10/06 12:15:24 (GMT +200)\r\n  lib/ansible/modules/core: (detached HEAD 144291120e) last updated 2015/10/06 12:15:39 (GMT +200)\r\n  lib/ansible/modules/extras: (detached HEAD da426da308) last updated 2015/10/06 12:15:51 (GMT +200)\r\n  config file = /home/schroer/.ansible.cfg\r\n  configured module search path = None\r\n\r\n***Ansible Configuration:***\r\nNo change\r\n\r\n***Environment:***\r\nMaster host: ubuntu 15.04\r\nTarget host: Debian Jessie\r\nnmcli tool, version 0.9.10.0\r\n\r\n***Summary:***\r\nnmcli aborting with exception when trying to create new connection\r\n\r\n***Steps To Reproduce:***\r\nRun the following task on a host with an ethernet device usb0 and no connection named XXX\r\n```\r\n  tasks:\r\n   - name: create correct XXX connection\r\n     nmcli: conn_name=XXX ifname=usb0 state=present\r\n```\r\n***Expected Results:***\r\nThe connection XXX should be created on the host, using interface usb0.\r\n\r\n***Actual Results:***\r\nnmcli aborts with an error\r\n```\r\nfatal: [172.16.16.120]: FAILED! => {\"changed\": false, \"cmd\": \"\", \"failed\": true, \"msg\": \"Traceback (most recent call last):\\n  File \\\"/home/scypho/.ansible/tmp/ansible-tmp-1444128172.13-7680715787004/nmcli\\\", line 2776, in run_command\\n    cmd = subprocess.Popen(args, **kwargs)\\n  File \\\"/usr/lib/python2.7/subprocess.py\\\", line 710, in __init__\\n    errread, errwrite)\\n  File \\\"/usr/lib/python2.7/subprocess.py\\\", line 1214, in _execute_child\\n    executable = args[0]\\nIndexError: list index out of range\\n\", \"rc\": 257}\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/146189819","html_url":"https://github.com/ansible/ansible-modules-extras/issues/1063#issuecomment-146189819","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1063","id":146189819,"user":{"login":"robynbergeron","id":3236604,"avatar_url":"https://avatars.githubusercontent.com/u/3236604?v=3","gravatar_id":"","url":"https://api.github.com/users/robynbergeron","html_url":"https://github.com/robynbergeron","followers_url":"https://api.github.com/users/robynbergeron/followers","following_url":"https://api.github.com/users/robynbergeron/following{/other_user}","gists_url":"https://api.github.com/users/robynbergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/robynbergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robynbergeron/subscriptions","organizations_url":"https://api.github.com/users/robynbergeron/orgs","repos_url":"https://api.github.com/users/robynbergeron/repos","events_url":"https://api.github.com/users/robynbergeron/events{/privacy}","received_events_url":"https://api.github.com/users/robynbergeron/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T13:01:27Z","updated_at":"2015-10-07T13:01:27Z","body":"[module: network/nmcli.py]"}}