[ansible-project] Ternary filter vs conditional expressions

2018-04-11 Thread rbarlik
I've been recently wondering about the ternary filter in Ansible. I've seen it used in a couple of places and it's also mentioned in the documentation. As you probably know, it's not a standard Jinja filter but one created in Ansible code. I would like to understand why was the ternary

Re: [ansible-project] Ternary filter vs conditional expressions

2018-04-12 Thread rbarlik
On Wednesday, April 11, 2018 at 3:10:34 PM UTC+1, Brian Coca wrote: > > > The `ternary` filter is easier for people that are not familiar with > Python, but non programmers and those used to ternary structures in > other languages. > > I'm used to the different ternary structures from