-
Notifications
You must be signed in to change notification settings - Fork 4
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
Problem with Ansible 2.4? #1
Comments
It looks like options to designate environments changed in 2.4: https://docs.ansible.com/ansible/2.4/porting_guide_2.4.html#inventory |
Hi David, I haven't upgraded to 2.4 yet, still on 2.3. Your diagnosis regarding inventory seems correct. I'll have a look. Ideally I'd like to find a solution the works with both 2.3 and 2.4. Regarding the error at |
thanks for your answer Pieter! Actually, about the unquoted "{{}}", the doc explains that quotes are mandatory when a value starts with a brace to make sure we're not starting a dictionary at this place in YAML.
or
are fine, whereas:
is wrong. |
Hi Pieter,
I tried running ansible-tools with a freshly installed ansible 2.4.0.0 and the playbook fails quite soon. It's as if ansible did no explore the host_vars dirctory in the environment (see output below).
I've been searching for quite some time but did not find how to fix it.
Do you have any idea?
$ ansible-playbook site.yml -i environments/vm/inventory
The text was updated successfully, but these errors were encountered: