{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/14808","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/14808/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/14808/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/14808/events","html_url":"https://github.com/ansible/ansible/issues/14808","id":138516969,"number":14808,"title":"Conditionals docs needs updating - filter example 'succeeded' should be 'success'","user":{"login":"Constantin07","id":11664677,"avatar_url":"https://avatars.githubusercontent.com/u/11664677?v=3","gravatar_id":"","url":"https://api.github.com/users/Constantin07","html_url":"https://github.com/Constantin07","followers_url":"https://api.github.com/users/Constantin07/followers","following_url":"https://api.github.com/users/Constantin07/following{/other_user}","gists_url":"https://api.github.com/users/Constantin07/gists{/gist_id}","starred_url":"https://api.github.com/users/Constantin07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Constantin07/subscriptions","organizations_url":"https://api.github.com/users/Constantin07/orgs","repos_url":"https://api.github.com/users/Constantin07/repos","events_url":"https://api.github.com/users/Constantin07/events{/privacy}","received_events_url":"https://api.github.com/users/Constantin07/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/docs_report","name":"docs_report","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-04T16:27:01Z","updated_at":"2016-03-04T22:09:41Z","closed_at":null,"body":"##### Issue Type:\r\n\r\n - Documentation Report\r\n\r\n##### Ansible Version:\r\n\r\n```\r\nansible 1.9.4\r\n```\r\n\r\n##### Ansible Configuration:\r\n\r\nDefault.\r\n\r\n##### Environment:\r\n\r\nAny.\r\n\r\n##### Summary:\r\n\r\nThere is a mistake in conditional example given on this page http://docs.ansible.com/ansible/playbooks_conditionals.html#the-when-statement\r\nwhich is misleading.\r\n\r\n##### Steps To Reproduce:\r\n\r\nTask fails if it's used \"succeeded\" as per docs.\r\n```\r\nfatal: [127.0.0.1] => Failed to template {{ tar_res|succeeded }}: template error while templating string: no filter named 'succeeded'\r\n```\r\n\r\n##### Expected Results:\r\n\r\n```\r\n- command: /bin/something_else\r\n    when: result|success\r\n```\r\n\r\n##### Actual Results:\r\n\r\n```\r\n- command: /bin/something_else\r\n    when: result|succeeded\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/192491075","html_url":"https://github.com/ansible/ansible/issues/14808#issuecomment-192491075","issue_url":"https://api.github.com/repos/ansible/ansible/issues/14808","id":192491075,"user":{"login":"Constantin07","id":11664677,"avatar_url":"https://avatars.githubusercontent.com/u/11664677?v=3","gravatar_id":"","url":"https://api.github.com/users/Constantin07","html_url":"https://github.com/Constantin07","followers_url":"https://api.github.com/users/Constantin07/followers","following_url":"https://api.github.com/users/Constantin07/following{/other_user}","gists_url":"https://api.github.com/users/Constantin07/gists{/gist_id}","starred_url":"https://api.github.com/users/Constantin07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Constantin07/subscriptions","organizations_url":"https://api.github.com/users/Constantin07/orgs","repos_url":"https://api.github.com/users/Constantin07/repos","events_url":"https://api.github.com/users/Constantin07/events{/privacy}","received_events_url":"https://api.github.com/users/Constantin07/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T22:09:41Z","updated_at":"2016-03-04T22:09:41Z","body":"@bcoca You are right. I was testing on 1.9.4 version but having a look at the current guide."}}