Re: [ansible-project] Porting playbooks from Ansible 2.4 to newer version

2019-01-01 Thread John Favorite
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

Re: [ansible-project] Porting playbooks from Ansible 2.4 to newer version

2019-01-01 Thread Kai Stian Olstad
On Monday, 31 December 2018 16:52:32 CET Lienj wrote: > There are a lot of changes from 2.4 to 2.5 mainly: > >- Loops (with_item vs loop) You don't need to do anything with this, with_items is not deprecated. -- Kai Stian Olstad -- You received this message because you are subscribed

Re: [ansible-project] Porting playbooks from Ansible 2.4 to newer version

2018-12-31 Thread Piyush Bansal
Hello Julien, First and foremost thing is to refer to porting guide for your target version. Ansible 2.5 Porting Guide This will give you information about what have changed and you can change them in your older

[ansible-project] Porting playbooks from Ansible 2.4 to newer version

2018-12-31 Thread Lienj
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