{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/awx/issues/371","repository_url":"https://api.github.com/repos/ansible/awx","labels_url":"https://api.github.com/repos/ansible/awx/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/ansible/awx/issues/371/comments","events_url":"https://api.github.com/repos/ansible/awx/issues/371/events","html_url":"https://github.com/ansible/awx/issues/371","id":263243645,"node_id":"MDU6SXNzdWUyNjMyNDM2NDU=","number":371,"title":"Smart Inventory - Searching on host variables.","user":{"login":"wtcross","id":1154807,"node_id":"MDQ6VXNlcjExNTQ4MDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1154807?v=4","gravatar_id":"","url":"https://api.github.com/users/wtcross","html_url":"https://github.com/wtcross","followers_url":"https://api.github.com/users/wtcross/followers","following_url":"https://api.github.com/users/wtcross/following{/other_user}","gists_url":"https://api.github.com/users/wtcross/gists{/gist_id}","starred_url":"https://api.github.com/users/wtcross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtcross/subscriptions","organizations_url":"https://api.github.com/users/wtcross/orgs","repos_url":"https://api.github.com/users/wtcross/repos","events_url":"https://api.github.com/users/wtcross/events{/privacy}","received_events_url":"https://api.github.com/users/wtcross/received_events","type":"User","site_admin":false},"labels":[{"id":687169246,"node_id":"MDU6TGFiZWw2ODcxNjkyNDY=","url":"https://api.github.com/repos/ansible/awx/labels/component:api","name":"component:api","color":"fbca04","default":false},{"id":687169295,"node_id":"MDU6TGFiZWw2ODcxNjkyOTU=","url":"https://api.github.com/repos/ansible/awx/labels/component:ui","name":"component:ui","color":"009800","default":false},{"id":686255656,"node_id":"MDU6TGFiZWw2ODYyNTU2NTY=","url":"https://api.github.com/repos/ansible/awx/labels/priority:medium","name":"priority:medium","color":"fad8c7","default":false},{"id":670226707,"node_id":"MDU6TGFiZWw2NzAyMjY3MDc=","url":"https://api.github.com/repos/ansible/awx/labels/state:needs_devel","name":"state:needs_devel","color":"ededed","default":false},{"id":607283750,"node_id":"MDU6TGFiZWw2MDcyODM3NTA=","url":"https://api.github.com/repos/ansible/awx/labels/type:enhancement","name":"type:enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-10-05T19:45:43Z","updated_at":"2018-05-31T15:04:39Z","closed_at":null,"author_association":"MEMBER","body":"##### ISSUE TYPE\r\n- Feature Idea\r\n\r\n##### COMPONENT NAME\r\n- API\r\n - UI\r\n\r\n##### SUMMARY\r\nAs an AWX user I should be able to create a smart inventory smart host filter based on host vars associated with a host. The behavior of this feature should be the same as how a user can create a smart host filter based on `ansible_facts`.\r\n\r\n##### STEPS TO REPRODUCE\r\n\r\nA dictionary called something like `host_vars` should be created that can be searched like this with a smart host filter:\r\n\r\n`host_vars.my_cool_hostvar:foo`\r\n\r\n##### ACTUAL RESULTS\r\n\r\nI would expect this to only result in showing hosts that have a host variable `my_cool_hostvar` set to `foo`.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/awx/issues/comments/393560973","html_url":"https://github.com/ansible/awx/issues/371#issuecomment-393560973","issue_url":"https://api.github.com/repos/ansible/awx/issues/371","id":393560973,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU2MDk3Mw==","user":{"login":"wenottingham","id":5208768,"node_id":"MDQ6VXNlcjUyMDg3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/5208768?v=4","gravatar_id":"","url":"https://api.github.com/users/wenottingham","html_url":"https://github.com/wenottingham","followers_url":"https://api.github.com/users/wenottingham/followers","following_url":"https://api.github.com/users/wenottingham/following{/other_user}","gists_url":"https://api.github.com/users/wenottingham/gists{/gist_id}","starred_url":"https://api.github.com/users/wenottingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenottingham/subscriptions","organizations_url":"https://api.github.com/users/wenottingham/orgs","repos_url":"https://api.github.com/users/wenottingham/repos","events_url":"https://api.github.com/users/wenottingham/events{/privacy}","received_events_url":"https://api.github.com/users/wenottingham/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T15:04:39Z","updated_at":"2018-05-31T15:04:39Z","author_association":"MEMBER","body":"The only way it's working in the API is by a free-text search of the variable blob, that will break if the variables are switched between JSON/YAML, and cannot be used to search complex variables (among other things). It's not productizable in its current state."}}
{"actor":{"display_login":"wenottingham"}}