{"action":"opened","issue":{"url":"https://api.github.com/repos/angstwad/docker.ubuntu/issues/43","labels_url":"https://api.github.com/repos/angstwad/docker.ubuntu/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/angstwad/docker.ubuntu/issues/43/comments","events_url":"https://api.github.com/repos/angstwad/docker.ubuntu/issues/43/events","html_url":"https://github.com/angstwad/docker.ubuntu/issues/43","id":74431898,"number":43,"title":"error while evaluating conditional: ansible_distribution_version","user":{"login":"joshuacox","id":6137404,"avatar_url":"https://avatars.githubusercontent.com/u/6137404?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuacox","html_url":"https://github.com/joshuacox","followers_url":"https://api.github.com/users/joshuacox/followers","following_url":"https://api.github.com/users/joshuacox/following{/other_user}","gists_url":"https://api.github.com/users/joshuacox/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuacox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuacox/subscriptions","organizations_url":"https://api.github.com/users/joshuacox/orgs","repos_url":"https://api.github.com/users/joshuacox/repos","events_url":"https://api.github.com/users/joshuacox/events{/privacy}","received_events_url":"https://api.github.com/users/joshuacox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-08T17:15:11Z","updated_at":"2015-05-08T17:15:11Z","closed_at":null,"body":"I get this failure when building on a ubuntu trusty host:\r\n```\r\nPLAY [dockerubuntu] *********************************************************** \r\n\r\nGATHERING FACTS *************************************************************** \r\nok: [localhost]\r\n\r\nTASK: [angstwad.docker_ubuntu | Fail if not a new release of Ubuntu] ********** \r\nfatal: [localhost] => error while evaluating conditional: ansible_distribution_version|version_compare(12.04, '<') or ansible_distribution_version|version_compare(12.10, '=')\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ******************************************************************** \r\n           to retry, use: --limit @/root/docker.yaml.retry\r\n\r\nlocalhost                  : ok=1    changed=0    unreachable=1    failed=0   \r\n```\r\n`ansible -m setup localhost` full output here:\r\nhttp://sprunge.us/SRKH\r\n\r\nwith the relevant section here:\r\n```\r\n        \"ansible_distribution\": \"Ubuntu\", \r\n        \"ansible_distribution_release\": \"trusty\", \r\n        \"ansible_distribution_version\": \"14.04\", \r\n```\r\nthe execution line:\r\n```\r\n  virtualbox-iso: Executing Ansible: cd /tmp/packer-provisioner-ansible-local && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/docker.yaml --limit localhost -c local -i /tmp/packer-provisioner-ansible-local/hosts\r\n```\r\n\r\nrepo with packer build that is my exact setup on how I got this error:\r\nhttps://github.com/joshuacox/dacksible\r\nanyone should be able to `cd` into the packer directory and `make vbox` to get the exact error as above.  Given that you have virtual box, vagrant, and packer installed amongst any other dependencies I'm forgetting.\r\n\r\nI'm sure I'm doing something wrong as I'm still abit new to Ansible, but if anyone can shed some light on why this is failing I'd love to figure it out."}}