ansible all -m ping
ansible-playbook [playbook_file].yml --check --limit [host-name/host-groupe]
ansible-playbook [playbook_file].yml
ansible-playbook docker_install.yml --check --limit [host-name/host-groupe]
-- pip install pytest-testinfra
-- ansible [core 2.12.7]
-- Python 3.10.4
-- pytest-7.1.2
py.test --hosts=docker-host --connection=ansible --ansible-inventory=test_inventories/ --force-ansible tests/[file].py
py.test --hosts=docker-host --connection=ansible --ansible-inventory=test_inventories/ --force-ansible tests/*