Make group_vars and host_vars available to usr/bin/ansible, and make vars_plugins exist

This commit is contained in:
Michael DeHaan 2012-10-26 19:55:59 -04:00
commit 6ba30170dd
9 changed files with 91 additions and 29 deletions

View file

@ -180,8 +180,6 @@ class TestPlaybook(unittest.TestCase):
runner_callbacks=test_callbacks
)
playbook.run()
assert playbook.SETUP_CACHE['host1'] == {'attr2': 2, 'attr1': 1}
assert playbook.SETUP_CACHE['host2'] == {'attr2': 2}
def test_yaml_hosts_list(self):
# Make sure playbooks support hosts: [host1, host2]