On 12. mai 2016 08:06, Mark Maas wrote:
On Wednesday, May 11, 2016 at 4:31:12 PM UTC+2, Kai Stian Olstad wrote:
According to Brian Coca in this post {{ and }} is implied in when and
should not be used.
https://groups.google.com/forum/#!msg/ansible-project/1DyCROTgMF0/6siUigwuAQAJ
Now I'm lost, when I leave those out, ansible cries foul and throws me a
deprectation warning.
I tested this task with 2.0.2.0 and doesn't get any deprecation messages:
- name: Create directories
file: dest=/tmp/foo state=directory
when: ansible_os_family == "Debian" and
ansible_distribution_major_version == "15"
--
Kai Stian Olstad
--
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/6bb2fa86-b842-edd1-2dd2-f8868babfc79%40olstad.com.
For more options, visit https://groups.google.com/d/optout.