add minimal test to molecule
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
619a7169ae
commit
91f2362f48
@ -5,3 +5,9 @@ import testinfra.utils.ansible_runner
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ["MOLECULE_INVENTORY_FILE"]
|
||||
).get_hosts("all")
|
||||
|
||||
|
||||
def test_auditd_running_and_enabled(host):
|
||||
auditd = host.service("auditd")
|
||||
assert auditd.is_running
|
||||
assert auditd.is_enabled
|
||||
|
Loading…
Reference in New Issue
Block a user