Ansible Playbook Collections Ansible Playbooks Ansible script for infrastructure as code. Installation Define ip address of target-host in /etc/ansible/hosts. [target-host] xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy:2201 $ ansible-playbook file.yml