This commit is contained in:
parent
4e47a9f7c8
commit
bcc41ab53c
@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
import testinfra.utils.ansible_runner
|
import testinfra.utils.ansible_runner
|
||||||
|
|
||||||
@ -9,7 +8,6 @@ warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|||||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||||
|
|
||||||
sys.path.append('/usr/sbin')
|
|
||||||
|
|
||||||
def test_haveged_is_installed(host):
|
def test_haveged_is_installed(host):
|
||||||
haveged = host.package("haveged")
|
haveged = host.package("haveged")
|
||||||
|
Loading…
Reference in New Issue
Block a user