parent
44026f8d7b
commit
799b180e2d
1 changed files with 3 additions and 0 deletions
|
@ -77,3 +77,6 @@
|
|||
- "31 == ['x','y']|map('extract',{'x':42,'y':31})|list|last"
|
||||
- "'local' == ['localhost']|map('extract',hostvars,'ansible_connection')|list|first"
|
||||
- "'local' == ['localhost']|map('extract',hostvars,['ansible_connection'])|list|first"
|
||||
# map was added to jinja2 in version 2.7
|
||||
when: "{{ ( lookup('pipe', 'pip show --disable-pip-version-check jinja2 | grep ^Version: | sed \"s/^Version: //\"') |
|
||||
version_compare('2.7', '>=') ) }}"
|
||||
|
|
Loading…
Reference in a new issue