mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed test to use hostvars and not expect vars sub
vars is at the same level as hostvars and was only included in hostvars temporarily as a bug
This commit is contained in:
parent
68d4c3bf3b
commit
e7804a6fdd
1 changed files with 1 additions and 1 deletions
|
@ -77,4 +77,4 @@
|
|||
- "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"
|
||||
- "'amazon' == ['localhost']|map('extract',hostvars,['vars','group_names',0])|list|first"
|
||||
- "'amazon' == ['localhost']|map('extract',hostvars,['group_names',0])|list|first"
|
||||
|
|
Loading…
Reference in a new issue