{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13516","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13516/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13516/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13516/events","html_url":"https://github.com/ansible/ansible/issues/13516","id":121717671,"number":13516,"title":"Dynamic inventories with command options does not work","user":{"login":"sebi-hgdata","id":11443582,"avatar_url":"https://avatars.githubusercontent.com/u/11443582?v=3","gravatar_id":"","url":"https://api.github.com/users/sebi-hgdata","html_url":"https://github.com/sebi-hgdata","followers_url":"https://api.github.com/users/sebi-hgdata/followers","following_url":"https://api.github.com/users/sebi-hgdata/following{/other_user}","gists_url":"https://api.github.com/users/sebi-hgdata/gists{/gist_id}","starred_url":"https://api.github.com/users/sebi-hgdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebi-hgdata/subscriptions","organizations_url":"https://api.github.com/users/sebi-hgdata/orgs","repos_url":"https://api.github.com/users/sebi-hgdata/repos","events_url":"https://api.github.com/users/sebi-hgdata/events{/privacy}","received_events_url":"https://api.github.com/users/sebi-hgdata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-11T14:29:22Z","updated_at":"2015-12-11T14:56:24Z","closed_at":null,"body":"Using ansible 2.0.0 - 157230c3e83731e :\r\nIt seems that specifying a dynamic inventory and parameters do not work as descried at http://docs.ansible.com/ansible/intro_dynamic_inventory.html#other-inventory-scripts .\r\n\r\nI have a python dynamic inventory file that I want to use like :  --inventory-file=\"inventories/local/hosts --profile\""},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/163956135","html_url":"https://github.com/ansible/ansible/issues/13516#issuecomment-163956135","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13516","id":163956135,"user":{"login":"sivel","id":39340,"avatar_url":"https://avatars.githubusercontent.com/u/39340?v=3","gravatar_id":"","url":"https://api.github.com/users/sivel","html_url":"https://github.com/sivel","followers_url":"https://api.github.com/users/sivel/followers","following_url":"https://api.github.com/users/sivel/following{/other_user}","gists_url":"https://api.github.com/users/sivel/gists{/gist_id}","starred_url":"https://api.github.com/users/sivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivel/subscriptions","organizations_url":"https://api.github.com/users/sivel/orgs","repos_url":"https://api.github.com/users/sivel/repos","events_url":"https://api.github.com/users/sivel/events{/privacy}","received_events_url":"https://api.github.com/users/sivel/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T14:56:24Z","updated_at":"2015-12-11T14:56:24Z","body":"You are correct.  That does not work and I am not sure it ever did. Those docs should be changed.\r\n\r\nThe correct way to get external provided options into the inventory is either by a config file or env vars."}}