Create an inventory file such called hosts with the following content (adjusting the IP address)
[ansible-hosts]
129.114.18.39 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