I don't understand what I am missing. I am trying to run a basic test from the documentation to see if my Ansible role deploys and runs nginx. I can login to the VM and verify, but that defeats the purpose of using molecule.
All testinfra and molecule tell me are that the assertion tests failed.
Here is my test code:
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
nginx = host.service("nginx")
How can I resolve this issue?