I'm trying my playbooks with Ansible 2.0, and ran into a few minor issues:
- The Ansible upgrade guide says "Using variables for task parameters is
unsafe and will be removed in a future version." What does this mean
exactly? I use variables in task parameters all the time -- this seems
fundamental to Ansible. Can you clarify this? Is it only when you define
variables and use them in the same task, like in the example?
- When my source and destination boxes are Linux, and I deployed a template
with Windows line endings, they used to be converted to Unix line endings
(in Ansible 1.9). Now the Windows line endings are preserved, but I didn't
see this in the changelog.
- The upgrade guide says I should receive a deprecation warning in this
case: "Bare variables in with_ loops should instead use the “{{var}}”
syntax, which helps eliminate ambiguity." But I'm not getting that warning
for things like "with_items: some_variable".
Thanks,
Jacob
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d1961831-e6d5-4519-8fdf-4cf56240816c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.