mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Merge branch 'ini_vars' of git://github.com/dmage/ansible into devel
This commit is contained in:
commit
9da26da335
3 changed files with 20 additions and 24 deletions
|
@ -236,9 +236,10 @@ class TestInventory(unittest.TestCase):
|
|||
print vars
|
||||
|
||||
expected = dict(
|
||||
a='1', b='2', c='3', d='10002', e='10003', f='10004 != 10005',
|
||||
a=1, b=2, c=3, d=10002, e=10003, f='10004 != 10005',
|
||||
g=' g ', h=' h ', i="' i \"", j='" j',
|
||||
rga='1', rgb='2', rgc='3',
|
||||
k=[ 'k1', 'k2' ],
|
||||
rga=1, rgb=2, rgc=3,
|
||||
inventory_hostname='rtp_a', inventory_hostname_short='rtp_a',
|
||||
group_names=[ 'eastcoast', 'nc', 'redundantgroup', 'redundantgroup2', 'redundantgroup3', 'rtp', 'us' ]
|
||||
)
|
||||
|
|
|
@ -40,6 +40,7 @@ e = 10003
|
|||
h = ' h '
|
||||
i = ' i "
|
||||
j = " j
|
||||
k = ['k1', 'k2']
|
||||
|
||||
[rtp]
|
||||
rtp_a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue