{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/15279","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/15279/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/15279/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/15279/events","html_url":"https://github.com/ansible/ansible/issues/15279","id":145908602,"number":15279,"title":"map extract not founded","user":{"login":"nejtr0n","id":4633773,"avatar_url":"https://avatars.githubusercontent.com/u/4633773?v=3","gravatar_id":"","url":"https://api.github.com/users/nejtr0n","html_url":"https://github.com/nejtr0n","followers_url":"https://api.github.com/users/nejtr0n/followers","following_url":"https://api.github.com/users/nejtr0n/following{/other_user}","gists_url":"https://api.github.com/users/nejtr0n/gists{/gist_id}","starred_url":"https://api.github.com/users/nejtr0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nejtr0n/subscriptions","organizations_url":"https://api.github.com/users/nejtr0n/orgs","repos_url":"https://api.github.com/users/nejtr0n/repos","events_url":"https://api.github.com/users/nejtr0n/events{/privacy}","received_events_url":"https://api.github.com/users/nejtr0n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-05T07:06:46Z","updated_at":"2016-06-07T16:41:39Z","closed_at":"2016-04-05T07:18:02Z","body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n - Feature Idea\r\n - Documentation Report\r\n\r\n\r\n##### ANSIBLE VERSION\r\n```\r\n<!--- Paste verbatim output from “ansible --version” between quotes -->\r\n2.0.1.0\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention the OS you are running Ansible from, and the OS you are\r\nmanaging, or say “N/A” for anything that is not platform-specific.\r\n-->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nIm trying to use ansible extract filter\r\nhttp://docs.ansible.com/ansible/playbooks_filters.html#extracting-values-from-containers\r\nBut there is no such filter in 2.0.1.0\r\nIt comes with 2.1 version, but there is no such version available to download. Where can I get this filter?\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\n```\r\n<!--- Paste example playbooks or commands between quotes -->\r\n```\r\n\t{{ groups['consul_masters'] | difference([inventory_hostname]) | map('extract', hostvars, 'cluster_id') | join(', ')}}\r\n\r\nError: \"TemplateRuntimeError: no filter named 'extract'\"\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with high verbosity (-vvvv) -->\r\n\r\n```\r\n<!--- Paste verbatim command output between quotes -->\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/224340192","html_url":"https://github.com/ansible/ansible/issues/15279#issuecomment-224340192","issue_url":"https://api.github.com/repos/ansible/ansible/issues/15279","id":224340192,"user":{"login":"jmalacho","id":6834872,"avatar_url":"https://avatars.githubusercontent.com/u/6834872?v=3","gravatar_id":"","url":"https://api.github.com/users/jmalacho","html_url":"https://github.com/jmalacho","followers_url":"https://api.github.com/users/jmalacho/followers","following_url":"https://api.github.com/users/jmalacho/following{/other_user}","gists_url":"https://api.github.com/users/jmalacho/gists{/gist_id}","starred_url":"https://api.github.com/users/jmalacho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmalacho/subscriptions","organizations_url":"https://api.github.com/users/jmalacho/orgs","repos_url":"https://api.github.com/users/jmalacho/repos","events_url":"https://api.github.com/users/jmalacho/events{/privacy}","received_events_url":"https://api.github.com/users/jmalacho/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T16:41:39Z","updated_at":"2016-06-07T16:41:39Z","body":"@sivel Thank you. You are ofcourse correct that it was a python library dependency issue.\r\nI uninstalled something and then did a\r\n> sudo pip install paramiko PyYAML Jinja2 httplib2 six\r\n\r\n It works for me now. It might be worth updating the install documentation to reflect  that (http://docs.ansible.com/ansible/intro_installation.html).  A typical yum user would expect the rpm repo (epel-testing) & dependencies to be complete. It is rare/unique that I have to both yum install something and pip install something to get the Parent RPM to work.\r\nThe way I read the documentation was: \"make sure you have python, install with yum\"\r\nAnd that works quite well until you get to a missing filter on my centos6 box."}}
{"actor":{"display_login":"jmalacho"}}