-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Ansible 2.4+ deprecation warnings #190
Comments
If we're ready to require ansible 2.4 minimum then we can get rid of the deprecation notices. I would love to require ansible 2.4 as I already require it for the playbooks I write. But, I don't know if that would be a generally acceptable requirement yet. |
@cognifloyd That's a perfectly valid point, agree with you 👍 So yeah, Ansible 2.5 is just out. Will wait for a couple of Ansible releases for things to settle down and users move to new versions, before making this change. |
🎉 Ansible 2.7 is here. https://groups.google.com/forum/#!topic/ansible-announce/fx7nxwL4hMM 2.6 had lots of bugfixes for include* and import*. Current ansible support matrix for 2.2 and above: edit: updated on 2018-10-05
2.8 is expected Q1 2019. So, I'd love to bump the minimum if that's ok. How high can we push it? If not now, when? |
See |
Excellent. I will submit a PR |
Good stuff. Looks like it's also time for us to tag another release? 0.9.0 maybe? |
Yep, the plan is also to include #207 (both feature and fix) in that upcoming |
Alright, I've finished #207 to fix the build. |
I've released https://github.com/StackStorm/ansible-st2/releases/tag/v0.9.0 as there were really enough of other unreleased changes. For better convenience, that will be last release supporting old Ansible I'm good if we bump min Ansible to Having this Ansible transition tagged as a new release I think would be better and easier for us & community. |
Replaces static includes with import_tasks (partially resolves StackStorm#190).
Replaces dynamic includes with include_tasks (resolves StackStorm#190). include_tasks (introduced in Ansible 2.4) does not support ansible 1.x style inline vars syntax (var=value) (since at least Ansible 2.4.1)[1]. If the syntax ever worked, removing support for it was announced in the Ansible 2.7 Porting Guide[2]. So, this modifies include loops to be include_tasks loops using the `vars` key instead of the inline syntax. [1] ansible/ansible#32812 [2] https://docs.ansible.com/ansible/2.7/porting_guides/porting_guide_2.7.html#include-tasks-import-tasks-inline-variables
Replaces dynamic includes with include_tasks (resolves StackStorm#190). include_tasks (introduced in Ansible 2.4) does not support ansible 1.x style inline vars syntax (var=value) (since at least Ansible 2.4.1)[1]. If the syntax ever worked, removing support for it was announced in the Ansible 2.7 Porting Guide[2]. So, this modifies include loops to be include_tasks loops using the `vars` key instead of the inline syntax. [1] ansible/ansible#32812 [2] https://docs.ansible.com/ansible/2.7/porting_guides/porting_guide_2.7.html#include-tasks-import-tasks-inline-variables
Port to minimum of Ansible 2.5 (resolves #190)
Fix Ansible deprecation warnings starting to appear since Ansible
2.4
:The text was updated successfully, but these errors were encountered: