Clean up group names. Fix mineos

This commit is contained in:
2019-12-23 10:30:50 -05:00
parent 488aa851bb
commit 793f9f0da3
49 changed files with 1041 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_hosts_file(host):
f = host.file('/etc/hosts')
assert f.exists
assert f.user == 'root'
assert f.group == 'root'