tests: correct path for common-hosts

issue72
David Wilson 6 years ago
parent 5521945bd2
commit e58b6a8f05

@ -38,7 +38,7 @@ with ci_lib.Fold('job_setup'):
run("pip install -q ansible==%s", ci_lib.ANSIBLE_VERSION) run("pip install -q ansible==%s", ci_lib.ANSIBLE_VERSION)
run("mkdir %s", HOSTS_DIR) run("mkdir %s", HOSTS_DIR)
run("ln -s %s/common-hosts %s", TESTS_DIR, HOSTS_DIR) run("ln -s %s/hosts/common-hosts %s", TESTS_DIR, HOSTS_DIR)
with open(os.path.join(HOSTS_DIR, 'target'), 'w') as fp: with open(os.path.join(HOSTS_DIR, 'target'), 'w') as fp:
fp.write('[test-targets]\n') fp.write('[test-targets]\n')

Loading…
Cancel
Save