We just did this on my team. We went from 2.3.2.0(!) ==> 2.5.8 (we'll bump up once a couple rabbitmq module bugs are resolved).
So, how did we do it? Installed the latest ansible and ran our playbooks, iterating through issues found until everything ran successful. As I noted above, we had some rabbitmq module issues which prevented from going past 2.5.8. Once we had that all worked out, we resolved the deprecated warnings. This puts us in a better place to more rapidly upgrade in the future. I'm happy to helping if you run into any major issues. Best of luck! On Mon, Dec 31, 2018, 10:52 AM Lienj <[email protected] wrote: > Hi there, > we have a bunch of playbooks and roles, all written in Ansible version >= > 2.4 > I need to audit all our playbooks in order to migrate to a more recent > version. > There are a lot of changes from 2.4 to 2.5 mainly: > > - Loops (with_item vs loop) > - Attributes inheritances > > I don't know how to handle that, do you have any methods for first > auditing what need to be changed and then ensure the changes are valid > (from a syntax point of view) ? > Thanks. > > -- > 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/ab812297-5990-42f8-9754-669e124ad26c%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/ab812297-5990-42f8-9754-669e124ad26c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAKsMCERnaG66pm_oGqdX5rLz6OH_1ESiLtRrdG%2B4cPA0T1W6MA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
