mirror of
https://github.com/nickjj/ansible-acme-sh.git
synced 2024-11-01 07:39:29 +01:00
15 lines
346 B
Python
15 lines
346 B
Python
import os
|
|
|
|
import testinfra.utils.ansible_runner
|
|
|
|
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
|
|
|
|
|
def test_motd_file_exist(host):
|
|
f = host.file('/tmp/acme.sh')
|
|
assert not f.exists
|
|
|
|
# def test_motd_file_work(host):
|
|
# host.run_test('/etc/profile.d/motd.sh')
|