hosts file is used in ansible code example Example: ansible hosts [webserver] 192.164.0.1 ansible_password=passwd