Variables in playbooks don't get evaluated? (ansible 1.1)

The {{ new_form }} is only good in Ansible 1.2.

I suspect you are still using 1.1?

1.1 compatible docs are here: http://ansible.cc/docs/released/1.1/

BTW, in case people didn’t catch it, both forms are valid in 1.2… we are just showing only the new way to reduce confusion and keep things consistent.

I also wanted to showcase 1.2 syntax as there are a larger number of people running the development branch, and also it prevents some questions about doing some potentially difficult things with complex variable access or conditionals.

Thanks! =)

Yeah, after I wrote the post, I cloned the repo and started digging. I thought I was going insane. =)Figured I was using an old version.

Any rls date for 1.2?

Actually one of the reasons I chose Ansible is Jinja, good syntax and we also use it for templating
on our backend. =)

/JT

We generally have a every-two-months release cadence which would put 1.2 releasing around 6/1, though we may do things a couple of weeks earlier this time.

Many people run the development branch full time – it can be a little interesting at the start of a cycle, but by now it has stabalized and should be safe to consume. This is particularly easy since it’s easy to run ansible from a checkout (just source ./hacking/env-setup).

Hope this helps!

–Michael