{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/919","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/919/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/919/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/919/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/919","id":60513608,"number":919,"title":"{ failed: \"true\" } error when running basic rax module from samples","user":{"login":"kenperkins","id":730664,"avatar_url":"https://avatars.githubusercontent.com/u/730664?v=3","gravatar_id":"","url":"https://api.github.com/users/kenperkins","html_url":"https://github.com/kenperkins","followers_url":"https://api.github.com/users/kenperkins/followers","following_url":"https://api.github.com/users/kenperkins/following{/other_user}","gists_url":"https://api.github.com/users/kenperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/kenperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenperkins/subscriptions","organizations_url":"https://api.github.com/users/kenperkins/orgs","repos_url":"https://api.github.com/users/kenperkins/repos","events_url":"https://api.github.com/users/kenperkins/events{/privacy}","received_events_url":"https://api.github.com/users/kenperkins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_info","name":"needs_info","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-10T15:04:07Z","updated_at":"2015-03-10T16:44:14Z","closed_at":"2015-03-10T16:44:14Z","body":"I'm using a slightly modified playbook from the [examples](http://docs.ansible.com/rax_module.html#examples). I'm expliciting adding my username and api_key, as well as region.\r\n\r\nAnsible Version 1.8.4\r\nPyrax version 1.9.3\r\n\r\n```\r\n- name: Build a Cloud Server\r\n  hosts: all\r\n  gather_facts: False\r\n  tasks:\r\n    - name: Server build request\r\n      failed_when: false\r\n      ignore_errors: true\r\n      local_action:\r\n        module: rax\r\n        username: myusername\r\n        api_key: xxxxx\r\n        name: rax-test1\r\n        region: IAD\r\n        flavor: general1-1\r\n        image: fed66ee7-fb4b-4464-b8c6-609c1fde218f\r\n        key_name: ken-mbp\r\n        wait: yes\r\n        state: present\r\n        networks:\r\n          - private\r\n          - public\r\n      register: rax\r\n```\r\n\r\n```\r\n$ ansible-playbook -i localhost, playbook.yml\r\n\r\nPLAY [Build a Cloud Server] ***************************************************\r\n\r\nTASK: [Server build request] **************************************************\r\nfailed: [localhost -> 127.0.0.1] => {\"failed\": true}\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ********************************************************************\r\n           to retry, use: --limit @/Users/ken/playbook.retry\r\n\r\nlocalhost                  : ok=0    changed=0    unreachable=0    failed=1\r\n```"}}