pytest-testinfra icon indicating copy to clipboard operation
pytest-testinfra copied to clipboard

Testinfra test your infrastructures

Results 164 pytest-testinfra issues
Sort by recently updated
recently updated
newest added

Hi, Inside our Testinfra test suite, we would like to make checks against values that make calls to custom Ansible lookup plugins. The fact is, I could not find a...

enhancement

When using testinfra with ansible_runner the only acceptable variable that can contain the password for ansible's user is ansible_ssh_pass. Based on ansible [documentation](https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#connecting-to-hosts-behavioral-inventory-parameters) if the user wants to use ansible...

## Environment deials: - Python 3.9.0rc2 (On Fedora 33) - testinfra 5.3.1 - molecule 3.1.4 - molecule-podman 0.2.3 - ansible 2.10.1 ``` [gw4] linux -- Python 3.9.0 /home/kdas/code/securedrop/.venv/bin/python3 host =...

One possible enhancement would be to expand testinfra beyond just testing operating systems and include testing of cloud resources like AWS. See this link for an idea: https://github.com/stelligent/serverspec-aws-resources. This company...

Hi @philpep, We are extensively using TestInfra to test Ansible roles. However, we are using `command` to test `firewalld` rules/services running `command("firewall-cmd ...")`. So, I'd like to see a module...

enhancement

I want to run a test on a remote VM. To do so I use the paramiko backend like that : py.test -v --instance_name MYDDSR60 --vm_name otvmi460s test_monitoring.py --hosts=otvmi460s My...

I know this *could* be batted away as something that is related to testinfra only, however, I am finding that I would like to ask here - would you accept...

Why is what appears to be an actual private key provided in the test/ssh_key file? Assuming it doesn't actually belong to someone, wouldn't an empty placeholder be better here? `testinfra$...

enhancement

I'd like to be able to use the testinfra convenience methods provided by the Docker backend on a **REMOTE** Docker container. Is this possible? I know that I could use...

enhancement

added parameter --ansible-playbook. for example --ansible-playbook=test-playbook.yml the process of applying variables in "vars" in the playbook is: 1) applying variables from play with "all" value of "hosts" directive 2) applying...