mirror of https://github.com/ansible/ansible.git
Fixes related to uncommenting test_dir_inventory in TestInventory.
0. Uncomment the test. 1. Test fails. 2. Make vars unique per file in test inventory files. 3. Modify token addition to not ast.literal_eval(v) a variable containing a hash. 4. Modify vars to have an escape in test inventory file. 5. Catch exceptions explicitly. Any unknown exceptions should be a bug. 6. Test passes.pull/6319/head
parent
616d7e53b1
commit
16fe09eef8
@ -1,3 +1,3 @@
|
||||
zeus var_a=2
|
||||
zeus var_a=0
|
||||
morpheus
|
||||
thor
|
||||
|
Loading…
Reference in New Issue