Home > Servers > Systems Management > White Papers > Dell PowerEdge: Getting Started with Redfish Ansible Modules > Running your first playbook
Now that we have established key-based authentication for SSH and defined the inventory file, we can safely test that Ansible is working. To do that, we could run a playbook, but the fastest and easiest way to test Ansible is to run the ping command:
This command looks into the inventory file, searches for a group called lab, and runs an Ansible ping command against each host. The Ansible ping command tests the connectivity to the host to ensure that it can log in using the SSH key-based authentication. It then checks that Python is installed on the host. This process ensures that all the pieces necessary for running playbooks are properly configured.