Re: [ansible-project] Ansible Version Migration

2019-11-27 Thread Stefan Hornburg (Racke)
On 11/27/19 10:47 AM, deva raju wrote: > Hi Stefan, > > > FYI >>> > > vars.yml > > apache_log_format: '\[%{%d\/%b\/%Y:%H:%M:%S}t\.%{msec_frac}t %{%z}t\]  %a  %h  > \\"%r\\"  ' > > - name: Standardize access log format >   shell:  >          sed -i '/LogFormat/c LogFormat "rev_proxy@{{

Re: [ansible-project] Ansible Version Migration

2019-11-27 Thread deva raju
Hi Stefan, FYI >>> vars.yml apache_log_format: '\[%{%d\/%b\/%Y:%H:%M:%S}t\.%{msec_frac}t %{%z}t\] %a %h \\"%r\\" ' - name: Standardize access log format shell: sed -i '/LogFormat/c LogFormat "rev_proxy@{{ hostname }} {{ apache_log_format }}" common/'

Re: [ansible-project] Ansible Version Migration

2019-11-27 Thread Stefan Hornburg (Racke)
On 11/27/19 10:05 AM, deva raju wrote: > Thanks Alicia for letting us know about maintained versions. > > But, While i'm upgrading my scripts from 1.5.3/2.1.1 to 2.9 , Some of the > expressions were not getting evaluated > successfully. > > I found that  "%{%d:%Y:%H:%m:%S}t" is not getting

Re: [ansible-project] Ansible Version Migration

2019-11-27 Thread deva raju
Thanks Alicia for letting us know about maintained versions. But, While i'm upgrading my scripts from 1.5.3/2.1.1 to 2.9 , Some of the expressions were not getting evaluated successfully. I found that "%{%d:%Y:%H:%m:%S}t" is not getting evaluated and throwing the error like "ERROR! failed at

Re: [ansible-project] Ansible Version Migration

2019-11-22 Thread alicia
Hi Devaraju, It’s best to upgrade to a maintained version. We maintain 3 versions at all times - currently those versions are 2.9, 2.8, and 2.7 - see https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html

Re: [ansible-project] Ansible Version Migration

2019-11-21 Thread Jean-Yves LENHOF
Le 2019-11-21 15:02, Vladimir Botka a écrit : On Thu, 21 Nov 2019 05:01:31 -0800 (PST) deva raju wrote: Now, we would like to move to either ansible-2.4 or ansible-2.5 So, what is the way to migrate my code to latest version ? Or do i need write the complete code from scratch ? The answers

Re: [ansible-project] Ansible Version Migration

2019-11-21 Thread Vladimir Botka
On Thu, 21 Nov 2019 05:01:31 -0800 (PST) deva raju wrote: > Now, we would like to move to either ansible-2.4 or ansible-2.5 So, what is > the way to migrate my code to latest version ? Or do i need write the > complete code from scratch ? The answers are in the Porting guides.

[ansible-project] Ansible Version Migration

2019-11-21 Thread deva raju
Hi Team, We wrote YAML scripts under the version 1.5.3 and 2.1.1 (virtual environment). Now, we would like to move to either ansible-2.4 or ansible-2.5 So, what is the way to migrate my code to latest version ? Or do i need write the complete code from scratch ? Can anyone please suggest me