How do you write and test an Ansible playbook to automate the deployment of software packages across hundreds of servers?