Phansible provides an easy to use interface that helps you generate Ansible Playbooks for PHP based projects.
Choose the options for your Virtual Machine.
Choose the Web Server you want to use.
Choose the PHP version, type the PHP modules you want (e.g. php5-curl) and select whether or not to install Composer system-wide.
Choose the Mysql configuration you want to use.
Type the name of the package and choose from the list.
Choose your timezone from the list.