Limit an Ansible Playbook to a single host

Often when you start implementing something new you want to test your playbook on a single instance.  If your Ansible hosts file looks like this


and you only want to run your playbook on host1, add the –limit paramter:

ansible-playbook –limit host1 playbook.yml