Commit 27d2f482 authored by rgaudin's avatar rgaudin
Browse files

Updated tests ansible version to match installer one

parent b12da4b8
ansible==2.5.4
pytest==3.6.1
ansible==2.6.6
pytest==4.0.0
import os
import shutil
import subprocess
import pytest
......@@ -7,6 +8,9 @@ import pytest
def test_ansible_playbook_syntax(tmpdir, role):
hosts = os.path.join(os.getcwd(), "hosts")
roles = os.path.join(os.getcwd(), "roles")
for fname in ("clean_apt.yml", "disable_service.yml",
"enable_service.yml", "enable_vhost.yml", "mark_role.yml"):
shutil.copy(os.path.join(os.getcwd(), fname), os.path.join(tmpdir, fname))
config = tmpdir.join("ansible.cfg")
config.write(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment