On Monday, 27 August 2018 16.59.03 CEST Brian Coca wrote: > - `include:` still exists, yes we are planning to eventually deprecate as > it has mixed static/dynamic behaviour and it is not easy to know which you > will get > > - `include_role`/`include_tasks` were created to represent the 'dynamic' > parts of the existing `include`, but they have been a work in progress, we > do think we have almost finalized them now and hope to mark them as > 'stableinterface' soon
I think this might be the source of all frustration, include was marked deprecated before the new feature was stable. The Ansible community is so big that you would have gotten a lot of feedback without marking include deprecated at that point. > We do try to maintain backwards compatibility, but in this case that means > `include` as `include_tasks` and `include_roles` were 'new' and 'in > progress' as we figured out how people are using them and how we think it > best suits everyone's needs, so backwards compatibility on those was not as > important as getting the feature set 'right'. I think your would have gotten this feedback without marking include deprecated. Just mention the new feature in the release notes and say comment accepted would have gone a long way. > User feedback has been crucial for this and part of it was that users were > displeased with things changing even if they liked the changes. We are > trying to figure out better ways to communicate the state of a feature and > adjust expectations as not everything we release is complete, perfect and > immutable. I'm one of does that likes the changes, had no issue with it. I only used when on include, and the change was very welcome. But I understand the painfulness some user have experience. When you see a deprecation warning you naturally want that message to do a way, but non of the new solution could do that out of the box, some tweaking was necessary. -- Kai Stian Olstad -- 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/1823614.BqG4M25a69%40x1. For more options, visit https://groups.google.com/d/optout.
