Create an inventory file called hosts
with the following content (adjusting the IP address++)
[ansible-hosts]
52.90.250.61 ansible_ssh_private_key_file=key_pair.pem ansible_ssh_user=ubuntu # Ubuntu target
From an Ansible-enabled machine, download playbook.yml
and run it with
ansible-playbook -i hosts playbook.yml