-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while evaluating conditional: ansible_distribution_version #43
Comments
Is your ansible version below 1.6? |
well locally:
But the error is from the one packer is using: |
That's gotta be the issue. You're missing the |
ok, so you guys nailed it. the version was 1.5.4, and packer may be controlling it, but it's the ansible inside the VM actually doing the work so I guess trusty is too old already, changing my install procedure from:
to:
that should get me a newer ansible and clear this up. |
Glad to hear it that was the issue. Hit us up if you encounter more stuff. 😄 |
I get this failure when building on a ubuntu trusty host:
ansible -m setup localhost
full output here:http://sprunge.us/SRKH
with the relevant section here:
the execution line:
repo with packer build that is my exact setup on how I got this error:
https://github.com/joshuacox/dacksible
anyone should be able to
cd
into the packer directory andmake 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.I'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.
The text was updated successfully, but these errors were encountered: